COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => COGNOS 8 Administration => Topic started by: RubenvdLinden on 24 Feb 2010 10:54:05 AM

Title: Remove logon button from Cognos 8 Connection (8.4)
Post by: RubenvdLinden on 24 Feb 2010 10:54:05 AM
Hi,

I found this article on the IBM support site to remove the logon button:
http://www-01.ibm.com/support/docview.wss?uid=swg21342825

I pasted it at the bottom of my system.xml like this:

<param name="ui_hide">
            <RV_TOOLBAR_BUTTONS_XLS_XLWA/>
      <CRN_HEADER_AUTHENTICATION/>
      <CC_HEADER_MENU_logon/>
         </param>

   <param name="ui_add">
      <CC_HEADER_MENU>
         <item>
         <url>/cognos8/cgi-bin/cognos.cgi?b_action=xts.run&m=portal/logoff.xts&h_CAM_action=logoff</url>
         <target>_self</target>
         <label xml:lang="en">Log off</label>
         <label xml:lang="nl">Afmelden</label>
         </item>
      </CC_HEADER_MENU>
   </param>
</system>

Unfortunately, as soon as I restart Cognos services Cognos 8 Connection no longer works:
DPR-ERR-2022 No response generated. This may be due to an incorrect configuration, a damaged installation, or the dispatcher not having finished initializing.

I tried removing the <target> and the <label xml:lang="nl">, but it still doesn't work.
If I remove the <param name="ui_add"> section, all works again.

What am I doing wrong?

Thanks, Ruben
Title: Re: Remove logon button from Cognos 8 Connection (8.4)
Post by: RubenvdLinden on 05 Mar 2010 10:51:56 AM
Fixed it by replacing all instances of '&' with '&amp;'