Hello All,
We have a requirement to have a button on the report for exporting the report into excel. But we are having the reports in Multipage dashboard which is built using Cognos Portlets. I found some common scripts to be working in individual reports, but not for the reports in the portlets.
Can anyone provide me a script that works in Cognos portlets for Export to Excel.
Thanks!
Hey did you have any luck with the post...I am looking for the same thing...do let me know
Put this in a HTML item in the report.
<div>
<input type='Button' value="Export to Excel" onclick="javascript:gCognosViewer.getRV().viewReport('singleXLS')">
</div>