Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cognos 8 : How to get a List of reports from the content store

Status
Not open for further replies.

swar80

Programmer
Jan 13, 2009
1
GB
Hi All,
I am new to Cognos SDK and
I am actually creating a webservice which will speak with Cognos SDK and retrieve a list of cognos reports.
I tried various things but i am not sure how to achieve this?. I used the ContentManager service and its method query to get the list.

c8CMS = new contentManagerService1();
searchPathMultipleObject spmo = new searchPathMultipleObject();
propEnum[] props = { propEnum.defaultName, propEnum.searchPath };

sort [] _sort = {new sort()};
_sort[0].order = orderEnum.ascending;
_sort[0].propName = propEnum.defaultName;

This will give me a list of all packages
_packagaepath = "/content//package/*";
spmo.Value = _packagepath;
baseClass[] bc = new baseClass();
bc = c8CMS.query(spmo, props, _sort, new queryOptions());

Thsi is what i do , but how can i find the reports which are related to a user or only he can view ?

Any suggestions?

Thanks
Swaroop




 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top