If you are unable to create a new account, please email support@bspsoftware.com

 

Passing Data Source Connection value through URL in Cognos 10.x

Started by vikramalvaj, 07 Dec 2016 12:52:32 AM

Previous topic - Next topic

vikramalvaj

I have a data source with multiple connections.I need to pass Data source connection as a parameter in the URL to select the connection at run time. Currently I get a prompt page for choosing the connection value. I don't want the prompt page to appear, Instead it should take the connection value from URL and continue running the report. My current connection format as below.

http://cognos.server/cognos/cgi-bin/cognos.cgi?b_action=cognosViewer&
ui.action=run&ui.object=ui_object&p_credential:dataSourcename:password=<credential><dataSourceConnection>CAMID(":")/dataSource[@name='datasourcename']/dataSourceConnection[@name='datasourceconnectionname']</dataSourceConnection><dataSourceSignon/><username>xxxx</username><password>yyy</password></credential>&run.outputFormat=&run.prompt=false

bswenson

I need to do the exact same thing.  Did you find a way to do this?

Thanks!