COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: ordotan on 20 Nov 2013 11:59:52 AM

Title: Hiiding the "search" prompt from the tool-bar in Cognos Connection
Post by: ordotan on 20 Nov 2013 11:59:52 AM
Hi,

Is there an easy way to hide the "search" prompt from the tool-bar in Cognos Connection, for a given user group, using the embedded permissions that exist within Cognos?

I had found the following documentation by IBM, but it seems too complicated, and requires editing system.xml.
http://pic.dhe.ibm.com/infocenter/caapps/v10r1m0/index.jsp?topic=%2Fcom.ibm.swg.im.cognos.ug_cra.10.1.0.doc%2Fug_cra_id36310CustomizetheUserInterfaceBasedonGroupandR.html
Title: Re: Hiiding the "search" prompt from the tool-bar in Cognos Connection
Post by: CognosPaul on 21 Nov 2013 12:43:18 AM
Using the system.xml is the only way to hide it.

One thing that you might want to do is to create a cognos role that is explicitly allowed to use search. For example, create a role called "searchUsers", then add the following to the system.xml:

<param name="ui_hide">
   <CRN_HEADER_SEARCH show="searchUsers"/>
   <CC_HEADER_MENU_search show="searchUsers"/>
   <CC_TOOLBAR_BUTTONS_search show="searchUsers"/>
</param>

After you restart Cognos, only people in that role would be able to see the search. You could then add or remove people/groups/roles as needed.
Title: Re: Hiiding the "search" prompt from the tool-bar in Cognos Connection
Post by: ordotan on 21 Nov 2013 02:53:51 AM
Thanks Paul !
Title: Re: Hiiding the "search" prompt from the tool-bar in Cognos Connection
Post by: ordotan on 24 Nov 2013 09:01:25 AM
One last thing I'm trying to hide, is the "Set Properties" button in a portlet (see attched)

I haven't found reference to this element in the following article:

http://pic.dhe.ibm.com/infocenter/caapps/v10r1m0/index.jsp?topic=%2Fcom.ibm.swg.im.cognos.ug_cra.10.1.0.doc%2Fug_cra_id36310CustomizetheUserInterfaceBasedonGroupandR.html

Anybody knows?
Title: Re: Hiiding the "search" prompt from the tool-bar in Cognos Connection
Post by: ordotan on 24 Nov 2013 09:52:10 AM
I had found a solution on my own :)

The elements that needs to be rendered are:
CC_TOOLBAR_BUTTONS_edit_pagelet
CC_TOOLBAR_BUTTONS_newpagelet