COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => SDK => Topic started by: folio on 24 Jul 2009 03:15:19 AM

Title: how to remove the corresponding toolbar
Post by: folio on 24 Jul 2009 03:15:19 AM
Hi, all.

In the " index.jsp" ,there is:
String httpurl = CM_URL + "?b_action=xts.run&m=portal/launch.xts&ui.tool=
CognosViewer&ui.action=run&ui.object="
   + java.net.URLEncoder.encode(indexReport,"UTF-8")
   + "&m_passportID=" + passport ;


and IE displays:
(http://pic1.kaixin001.com/pic/photo/71/2/27041399_157710269.gif)

if change " index.jsp" to this:
String httpurl = CM_URL + "?b_action=xts.run&m=portal/launch.xts&ui.tool=
CognosViewer&ui.action=run&cv.header=false&ui.toolbar=false&ui.header
=false&ui.object="
   + java.net.URLEncoder.encode(indexReport,"UTF-8")
   + "&m_passportID=" + passport ;

and IE displays:
(http://pic1.kaixin001.com/pic/photo/71/3/27041399_157710301.gif)

Question:
How to make green box in Figure 2 does not show?
How to set up?  
Thx a lot!!
Title: Re: how to remove the corresponding toolbar
Post by: folio on 29 Jul 2009 04:00:50 AM
I got.

set
&cv.header=false
&cv.toolbar=false

for cognos 8.3;

&ui.header=false
&ui.toolbar=false

for cognos 8.2 and fore.