Purchase your Section 508 Compliance Support guide now!

Purchase your Section 508 Compliance Support guide now!

Cognos Parameterized Url Example

Here is an example of using a parameterized url to launch a Cognos Report Studio report that contains prompts.  The url contains a reference to the reporting server, the specific report and provides values for the parameters.  The Cognos SDK Developer Guide contains additional documentation with other examples for launching Query Studio and Analysis Studio.

 

 

http://<servername>:<portnumber>/cognos8/cgi-bin/cognos.cgi?b_action=xts.run&m=portal/report-viewer.xts&method=execute&m_obj=/content/package[@name='GO Sales and Retailers']/report[@name='Prod_Name_Drill_Target']
&p_ProdLine="+ParamValue("Product Line")+"&p_ProdType="+ParamValue("Product Type")+"&p_ProdName="+ParamValue("Product Name")