If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Access batch report contents via cognos webservice API

Started by hsheng, 06 Feb 2014 02:57:27 PM

Previous topic - Next topic

hsheng

Hi,

I've setup schedule jobs to create and save daily and weekly batch reports to file system.
I want to be able to access these batch reports in the cognos content manager web client or via the cognos webservice API in a standalone app.
Does anyone know if this is achievable, or how to set it up?

Thanks,
Harry

hsheng

Ok, I get some information on the generated batch reports like the following:

/content/folder[@name='SPortal_Reports']/folder[@name='BurstReports']/report[@name='TrendingReport-AG-Sap-Burst']/reportVersion[@name='2013-12-22T04:17:25.546Z']/output[@name='2013-12-22T05:00:34.546Z']
   outputType: Output
   defaultName:2013-12-22T05:00:34.546Z
   version:    1
   format:  PDF
   dataType:application/pdf
/content/folder[@name='SPortal_Reports']/folder[@name='BurstReports']/report[@name='TrendingReport-AG-Sap-Burst']/reportVersion[@name='2013-12-22T04:17:25.546Z']/output[@name='2013-12-22T05:00:36.875Z']
   outputType: Output
   defaultName:2013-12-22T05:00:36.875Z
   version:    1
   format:  PDF
   dataType:application/pdf
/content/folder[@name='SPortal_Reports']/folder[@name='BurstReports']/report[@name='TrendingReport-AG-Sap-Burst']/reportVersion[@name='2013-12-22T04:17:25.546Z']/output[@name='2013-12-22T05:00:39.171Z']
   outputType: Output
   defaultName:2013-12-22T05:00:39.171Z
   version:    1
   format:  PDF
   dataType:application/pdf

These reports are generated with different parameters, and are saved with different names. The above information are from the following search path:
"/content/folder[@name='SPortal_Reports']/folder[@name='BurstReports']/report[@name='TrendingReport-AG-Sap-Burst']//*[@objectClass='output']"

Now my problem is, from the above information, I have not way to map the above "output" to the actual PDF file on the file system.
Any help is appreciated.

Thanks,
Harry