문제

We form the URL in our java application and pass it to the cognos server to generate reports. At the moment the Excel reports are defaulting to 2002. Is there a way to pass the Excel version number, to change it to 2007, to the cognos server via the URL?

I know this can be done in the Cognos server for each report by manually setting the excel version but want to know if there is parameter value that we can pass via the URL to set the excel version.

Thanks.

도움이 되었습니까?

해결책

Have found the solution. Use run.outputFormat=spreadsheetML to tell Cognos to generate excel spreadsheets in Excel 2007 format.

Formats supported by Cognos are CSV, HTML, HTMLFragment, MHT, PDF, singleXLS, XHTML, layoutDataXML, spreadsheetML, rawXML, XLWA, and XML

Source: Using parametrized URLs to perform tasks

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top