We're using the Cognos SDK 10 to retrieve and display reports in a custom front-end.
I'm using this code to get the Drillthrough Paths (thanks murali999!), toegether with "PropEnum.paths" in the CM query:
AuthoredReport r=(AuthoredReport) report;
NavigationPath  n=r.getPaths().getValue();
for(int p=0; p< n.length ;p++)
BaseClass  bs=n[p].getTarget();
if(bs != null )
System.out.println("DrillThroughPaths : "+bs.getSearchPath().getValue());
This works perfectly, except if I have multiple drills defined that drill into the same report. For example, if I have two drills defined both of which have target is report "A", then I only get one row returned from getPaths().
NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
This topic has been locked.