Troubleshooting
Problem
How do you add a logo or any other image to the left of the user's name in the Cognos Connection banner? How do you remove the "Cognos Connection" text?
Resolving The Problem
You will need to add a reference to the image that you want to be displayed in the <param name="OEM">
<customHeader showContext="true" contextDelimiter=" - ">
<style styleFolderName="corporate">
<table style="background-color:#ffffff">
<tr>
<td><img src="../skins/corporate/branding/my_logo.gif"/></td>
<td class="headerTitle" style="padding-right:2px;white-space:nowrap">My company</td>
</tr>
</table>
</style>
<style styleFolderName="classic">
<table style="background-color:#cccccc">
<tr>
<td><img src="../skins/classic/branding/my_logo.gif"/></td>
<td class="headerTitle" style="padding-right:2px;white-space:nowrap">My company</td>
</tr>
</table>
</style>
</customHeader>
</param>
Steps to add a custom Logo to the portal:
Make a backup of the (Cognos)\templates\ps\portal\system.xml file.
Open the (Cognos)\templates\ps\portal\system.xml file in a text or XML editor.
Find the string "Custom OEM Headers" in the file. Add in your own section, or edit the example section included in the file. If editing the example, ensure that this example section is not commented out within your XML file by removing the following two bolded sections:
<!-- Custom OEM headers -->
<param name="OEM">
<!--
Specify custom Cognos Connection / Cognos Viewer left side header here in
the form of XHTML snippets. Custom headers can be style-specific.
Example:
<customHeader showContext="true" contextDelimiter=" - ">
AND:
</customHeader>
-->
</param>To remove the "Cognos Connection" string from the header, modify the
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21339054