IBM Support

How to Hide User Interface Elements Using the System.xml File

Technical Blog Post


Abstract

How to Hide User Interface Elements Using the System.xml File

Body

image

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

  1. Stop the IBM® Cognos® service.
  2. 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.
  3. 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.
  4. 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.
  5.   Repeat steps 3 to 4 for each element that you want to hide.
  6. Save the file.
  7. Start the IBM Cognos service.

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..

 

 

 

 

 

 

Tutorials Point

 

Subscribe and follow us for all the latest information directly on your social feeds:

 

 

image

 

image

 

image

 

 

  

Check out all our other posts and updates:

Academy Blogs: http://ow.ly/Otue0
Academy Videos: http://ow.ly/PIKFz
Academy Google+: http://ow.ly/Dj3nn
Academy Twitter Handle: http://ow.ly/Dj35c


image

 

[{"Business Unit":{"code":"BU004","label":"Hybrid Cloud"},"Product":{"code":"","label":""},"Component":"","Platform":[{"code":"","label":""}],"Version":"","Edition":""}]

UID

ibm11083513