COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: deonky on 09 Jun 2011 11:19:15 PM

Title: How to passing parameter on URL/Hyperlink with dynamic value....
Post by: deonky on 09 Jun 2011 11:19:15 PM
I have a problem for passing 2 parameter but the parameter value is from the parameter that passed from prompt form...

For example :
http://budgeting.pelindo2.com:80/cognos8/cgi-bin/cognos.cgi?b_action=cognosViewer&ui.action=run&ui.object=%2fcontent%2ffolder%5b%40name%3d%27Investasi%27%5d%2ffolder%5b%40name%3d%27Drilldown%27%5d%2freport%5b%40name%3d%27Rekapitulasi%20Progress%20Investasi%20RKAP%27%5d&ui.name=Rekapitulasi%20Progress%20Investasi%20RKAP&run.outputFormat=&p_Month=12&p_Year=2010&run.prompt=false

How to make the value of p_Month and p_Year is the value from the parameter that passed from prompt form?
p_Month=?Month?  ?? =p

Thx b4 for your help

Best Regards
Made
Title: Re: How to passing parameter on URL/Hyperlink with dynamic value....
Post by: rlp on 28 Aug 2011 07:42:55 AM
The easiest thing to define a Drill-Through to the target report.

You could also build the URL using a report expression, which allow you access prompt values.  We use that technique often, but mostly for linking to content outside of Cognos.