COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: Gopinath on 27 Jan 2014 06:39:56 AM

Title: Pass parameterized URI from a report to cognos multi tab portal
Post by: Gopinath on 27 Jan 2014 06:39:56 AM
Hi,

We have a multi-tabbed cognos portal with a prompt page.

My requirement is to pass a parameter value from a cognos report or an external application to the multi-tabbed cognos portal and the prompt page in the portal should be pre-populated with the value passed from the report .

Can anyone help me with a sample parameterized URI?

Thanks,
Gopinath.M
Title: Re: Pass parameterized URI from a report to cognos multi tab portal
Post by: MFGF on 27 Jan 2014 07:33:10 AM
Hi,

Grab the url of the report and modify the end as follows:

change &&run.prompt=true to &run.prompt=false
then add &p_<your parameter name goes here>=<your desired value goes here>

eg:

http://localhost:80/ibmcognos/cgi-bin/cognos.cgi?b_action=cognosViewer&ui.action=run&ui.object=%2fcontent%2ffolder%5b%40name%3d%27Samples%27%5d%2ffolder%5b%40name%3d%27Models%27%5d%2fpackage%5b%40name%3d%27GO%20Sales%20(query)%27%5d%2freport%5b%40name%3d%27Product%20Line%20Drill%20Target%27%5d&ui.name=Product%20Line%20Drill%20Target&run.outputFormat=&run.prompt=false&p_PL=Camping%20Equipment

Cheers!

MF.
Title: Re: Pass parameterized URI from a report to cognos multi tab portal
Post by: Gopinath on 28 Jan 2014 05:53:23 AM
Hi,

Thanks for your suggestion. But, i want to pass a parameter to a portal page (6 different reports). Actually the prompt page is a seperate report based on which the other tabs will be filtered(using 'Channel'). Is it possible to pass a parameter to a report inside a portal page?

please refer the attachment

Thanks,
Gopinath.M