Hi,
Im just learning SDK so if this is a noobish question then please excuse me... I would like to change some of the report properties using SDK especially the package to which the report is linked and the report name... I grasped that we must use the CMService_port function update(objects,options) inorder to apply any changes we make to objects...
What i would like to know is how to make those changes to a specific report object? In my case how do i change the package to which a report is linked to? Which function of which class i must use to modify these properties? iam using Cognos 8.3 SDK...
Ok so far i have figured out how to change the report name... Can anyone please throw some light on how to change the package to which a report is associated???
Hi
Way #1: connect to the Server, get the Reportdefinition as a xml-String parse it, change it ad upload the defition.
Way #2 (never tried it but it is possible): connect to the Server, open the report, change the property and save the report.
You may find an exampe how to extract each column of every query inside a report.
Side effect:
Way #1 will change the unique ID - way #2 not.
CK