Technical Blog Post
Abstract
How to Hide User Interface Elements Using the System.xml File
Body
Certain aspect of TCR report has to be made invisible to some user for security and administrative reason.
One way to hide the element is to disabled the particular element using the System.xml file.
The instruction below detailed how you edit the applicable system.xml file to hide user interface elements permanently.
Procedure
- Stop the IBM® Cognos® service.
- Open the system.xml file in one of the following locations:
- c10_location /templates/ps/portal
Use the system.xml file in this directory to hide user interface elements in Public Folders or My Folders. - c10_location /templates/ps
Use the system.xml file in this directory to hide user interface elements in pages and dashboards with multiple tabs.
- c10_location /templates/ps/portal
- Use the following syntax in the <system> element to hide a user interface element:
<param name="ui_hide">
<!--list of user interface elements-->
</param>
For example, the following XML code hides the entire IBM Cognos Connection header and the New Job button in the toolbar:
<param name="ui_hide">
<CC_HEADER/>
<CC_TOOLBAR_BUTTONS_newjobDefinition/>
</param>
For information about all the user interface elements that you can hide, see Elements You Can . Ensure that you match the case of each user interface element you want to hide. - Specify one or more groups or roles you want to view the hidden element by adding their IDs as values of the show attribute.
Use the group or role IDs as documented in the topic Reference the Required Groups or Roles in the system.xml File.
Tip: There can be only one <param name="ui_hide"> element in system.xml. Therefore, all items you want to hide must be placed inside this element..
Subscribe and follow us for all the latest information directly on your social feeds:
|
|
![]() |
|
| Check out all our other posts and updates: | |
| Academy Blogs: | h |
| Academy Videos: | http://ow.ly/PIKFz |
| Academy Google+: | http://ow.ly/Dj3nn |
| Academy Twitter Handle: | http://ow.ly/Dj35c |
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSVJUL","label":"IBM Application Performance Management"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
UID
ibm11278430




