COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: jmegha27 on 18 Nov 2016 01:28:48 AM

Title: multiple datasource in cognos
Post by: jmegha27 on 18 Nov 2016 01:28:48 AM
Hi

I have multiple datasource  configured in cognos.
when i try to run a report using iframe, a dialog box ask me to select the appropriate datasource connection.

how can i pass the same at runtime in cognosLaunch method?
i am already passing ui.gateway,CAMNamespace,CAMUsername,CAMPassword etc.

how to pass the datasource and datasource connection? what would be the key for both of them?

Regards
Megha
Title: Re: multiple datasource in cognos
Post by: bdbits on 18 Nov 2016 12:00:11 PM
If there is one, it is somewhere in here. I looked a little bit but saw nothing obvious for that.

http://www.ibm.com/support/knowledgecenter/SSEP7J_10.2.2/com.ibm.swg.ba.cognos.dg_sdk.10.2.2.doc/i_d15e287568.html#integration_url_api_ref_urlapi_cognosViewer (http://www.ibm.com/support/knowledgecenter/SSEP7J_10.2.2/com.ibm.swg.ba.cognos.dg_sdk.10.2.2.doc/i_d15e287568.html#integration_url_api_ref_urlapi_cognosViewer)