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

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Cognos Analytics parameterized URL method

Started by C2A2, 01 Nov 2018 12:30:11 PM

Previous topic - Next topic

C2A2

Hello
I am upgrading from Cognos10.2.2 to CA11.0.11 and facing issue with parameterized URL. I have followed below IBM note to create parameterized URL(Gateway Option).

http://www-01.ibm.com/support/docview.wss?uid=swg21997563
https://www.ibm.com/support/knowledgecenter/SSEP7J_11.0.0/com.ibm.swg.ba.cognos.ca_dg_sdk.doc/c_urlaccess_param_url_ex6.html?view=embed#urlaccess_param_url_ex6

When I run report from folder it open fine in new C11 portal  and when I run report with below parameterized URL it open in cognos legacy portal, please refer attached image.

http://localhost/cognosanalytics/bi/v1/disp?b_action=cognosViewer&ui.action=run&ui.object=//content/folder[@name='Test'] /report[@name='Test']

Any one encountered same issue ?

Thanks

jrmcknight

I'm not completely sure this will answer what you are asking, but you might try it. I pulled the information from IBM's documentation on creating custom URLs for Cognos Analytics content.

https://www.ibm.com/support/knowledgecenter/en/SSEP7J_11.0.0/com.ibm.swg.ba.cognos.wig_cr.doc/c_wig_cr_create_custom_url.html

Link would start like this:
http://<servername>:<port>/bi/?pathRef=<path>&<option1>=<value1>&<option2>=<value2>... --by deployment location
or
http://<servername>:<port>/bi/?objRef=<id>&<option1>=<value1>&<option2>=<value2>... --by object ID

Then you'll append other items depending on what you want to turn on or off. These are the ones I've used.
ui_appbar -- top bar
ui_navbar -- side bar
action -- run or edit
format -- html, excel, pdf, etc.
prompt -- show prompt page
p_[prompt name] -- supply the prompt value to pass to the report. If you already name your prompts as p_Year, for example, in Cognos, this would look like p_p_Year.

Hope this helps!