version-controlcognoscognos-10cognos-bi

Exporting individual Congos Reports via command line


I'm trying to work out how I can export individual Cognos Reports via the command line, for the purposes of source versioning in Git at a report-by-report level. I presume XML would be the output format.

I read that the Cognos SDK can help but you need to build your own solution, which may be possible but this use case feels like something many others would already want and there'd be tooling already.

Of course, importing the individual report would also be needed.

Can anyone help here please?

Thanks.


Solution

  • You can use tools like the ones provided by companies like http://www.motio.com. With the free version you can export the XML of the reports but only one by one.

    You can also use a Cognos deployment of the reports that generates a zip file with the XML of the reports, but all the reports are in the same file and you will have to extract the XML of the individual reports by hand.