Many bi projects need to be integrated with the portal. You can place the entire Bi portal to the enterprise portal or just store some fixed reports. Because the default running of Cognos will bring out Cognos
Viewer.
There are several ways to solve this problem:
1. Modify the Cognos view between system XML files.
2. Modify the URL behavior, such
Copy the URL of the report (go to Cognos connection-> go to the folder
Location of report-> right click on the selected report you want to run->
Copy shortcut) Then paste this URL in the new window and at the end of this
URL type * & cv. header = false & cv. toolbar = false *
3. Use HTML code in the report. The following is the HTML code:
Successfully tested in 10.1:
<Style>
# Headerback
{
Display: none;
}
. Mainheader1
{
Display: none;
}
. Mainviewerheader3
{
Display: none;
}
</Style>
Versions earlier than 10:
-- Hide Cognos Viewer
<Style>
. Toprow
{
Display: none;
}
</Style>
-- Hide Cognos Viewer
<SCRIPT>
Document. getelementbyid ('cvheader _ NS _ '). style. Display = "NONE ";
Document. getelementbyid ('cvtoolbar _ NS _ '). style. Display = "NONE ";
If (document. getelementbyid ('cvnavlinks _ NS _')){
Document. getelementbyid ('cvnavlinks _ NS _ '). style. Display = "NONE ";
}
</SCRIPT>
<SCRIPT type = "text/JavaScript">
Window. onload = function ()
{
If (document. getelementbyid ("cbarcvtoolbar_ns _"))
{
Document. getelementbyid ("cbarcvtoolbar_ns _"). style. displ
Ay = 'none ';
Document. getelementbyid ("cvheader_ns _"). style. Display = 'n'
One ';
}
}
</SCRIPT>