How to add a custom message for all Cognos users on Cognos Connection Page

This article provides you information about how one can add a custom message for all Cognos users on Cognos Connection Page
Solution 1 : Add the message on the title bar of Cognos Connection.

Refer point 1 in image attached.
Steps :
a. Open <c8_install>webcontent/skins/<skin_used>/shared/banner.css
b. find ".mainHeader1middle"
c. Modify content as per requirement.
Example :
.mainHeader1Middle
{
width:100%;
background-image: url(../shared/images/Message.gif);
background-repeat: no-repeat;
}

Solution 2 : Add the message on the title bar of table.
Refer point 2 in image attached.
Steps :
a. Open <c8_install>webcontent/skins/<skin_used>/portal/default.css
b. find ".tableHeader"
c. Modify content as per requirement.
Example :
.tableHeader
{
background-color: #ffffff;
background-image: url(images/Message.gif);
background-repeat: no-repeat;
}

Please refer to attached snapshot for the location where the message would be displayed.

Precautions :
1) The images needs to be properly created and should be available in the respected directories. The background color should be taken care of accordingly.
2) For Solution 2, the image text needs to be properly placed with additional space from left side, as the same css is being referred by other Titles as shown in the attached image. Also background color in image need to keep the same background color of title bar for the same reason .Refer point 3 in the attached image.

3) Portal customization is not a standard practice and hence not recommended. Hence above solution should be used at your own discretion, as portal customization is a tricky task.

Comments

Popular posts from this blog

RSV-VAL-0032 expression is not valid. If the item exists in a query but is not referenced in the layout, add it to a property list. CRX-API-0005 An error ocurred at or near the position '0'.

How can you extract all user information from Cognos Access Manager Namespace Report Utility and create Cognos Report out of it?

BME-EX-0047 Unable to read preferences for the requested interface..