If you are unable to create a new account, please email bspsoftware@techdata.com

Author Topic: Hide 'Set Properties' & 'More' links  (Read 20303 times)


  • Guest
Re: Hide 'Set Properties' & 'More' links
« Reply #15 on: 23 Mar 2011 02:41:49 am »
Hi Guys,

I found a way to solve my case partly.

modify the system.xml under Program Files\cognos\c8\templates\ps\portal to add the exclude part.

here is one example

<object class="report" exclude="customview"> >
   <action name="run_options"/>
   <action name="edit"/>
   <action name="schedule"/>
   <action name="run_once"/>
   <action name="previous_versions"/>
   <action name="run_history"/>
   <action name="customview"/>
   <action name="shortcut"/>
   <action name="add_alert"/>
   <action name="remove_all_alerts"/>

this solution  can help me to hide the customview in navigator. And the customview is still available in folder view. It is good enough for my request
because I can hide the folders with permission setting to allow admin only.
the problem is I can use this to hide any action item in the list but the 'set properties' and 'more' are not on the list. I do not know the action name
of them. I am not sure can I hide others which are not on the list. Anyway, I need to know the action names first so I can try.
If you know the action names of 'property' or 'more' let me know.


Offline CognosPaul

  • Global Moderator
  • Statesman
  • *****
  • Join Date: Jan 2009
  • Posts: 1,912
  • Forum Citizenship: +268/-1
    • Paul's Cognos Blog
Re: Hide 'Set Properties' & 'More' links
« Reply #16 on: 27 Mar 2011 03:41:34 am »
Hi uuiioo,

Cognos generates the HTML of the page based on the XTS files. The following is the example I gave previously:
Code: [Select]
<!-- CRN object -->
   <out:if test=" not(contains($ui_black_list, ' MORE_LINK ')) ">
      <a href="#">
         <!--  For shortcuts we always use the current object's class, name, and path to launch the "Actions" dialog -->
         <out:attribute name="onClick">actions('<out:value-of select="xtsext:javascriptencode(string($obj-name))"/>', '<out:value-of select="$obj-class"/>','<out:value-of select="xtsext:javascriptencode(string($obj-path))"/>','actions.xts', null, '<out:value-of select="xtsext:javascriptencode(string($location))"/>');</out:attribute>
         <xts:string id="IDS_ACT_MORE"/>

When the page generates it will test your permissions against the ui_black_list. It will look for MORE_LINK, and if it appears it will check all of the roles with permission to see it. If you have permission it will continue on to the <a href... if not it will simply skip the section. It seems that another file controls the generation of the navigator. I'll have to look for it.


  • Guest
Re: Hide 'Set Properties' & 'More' links
« Reply #17 on: 27 Mar 2011 05:27:59 am »
Hi Paul,

thank you for your reply  ;D

Offline cognoslearner1

  • Community Leader
  • *****
  • Join Date: Apr 2012
  • Posts: 129
  • Forum Citizenship: +2/-1
Re: Hide 'Set Properties' & 'More' links
« Reply #18 on: 10 Feb 2016 12:38:36 am »
Hi Paul,

The way you suggested will hide UI to all the users . Is there a way to hide for some users and groups ?



  • Guest
Re: Hide 'Set Properties' & 'More' links
« Reply #19 on: 14 Jun 2016 10:29:46 pm »
Have to open old wounds here - cannot find any way to get rid of the "more..." link within the navigator portlet.

Adding items to the black list works quite well for cognos connection but buggered if I can find anything relating to the navigator portlet.

Been a few years now, anyone have some new info?