Hiding the buttons in Cognos Viewer

Remember the buttons in Cognos Viewer that let you change the format, or save a report when a report is run?  In some cases it's better to hide these buttons.  For security reasons for example, or when integrating in another application.

First get the URL of the report from Cognos Connection.  It's that URL that you wanna use to integrate in the external application.  You can do this by clicking the properties in the report, and choosing "View the path, ID & URL" in the right top corner.  Copy out the URL.



Next you want to edit the URL in order to hide the header and toolbar.

There's a simple way to hide this.  Just add the following string at the end of the URL :

&cv.header=false&cv.toolbar=false

Simple as that!