Author Topic: Cognos Analytics parameterized URL method  (Read 1405 times)

Offline C2A2

  • Associate
  • **
  • Join Date: Nov 2018
  • Posts: 3
  • Forum Citizenship: +0/-0
Cognos Analytics parameterized URL method
« on: 01 Nov 2018 12:30:11 pm »
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

Offline jrmcknight

  • Associate
  • **
  • Join Date: Dec 2016
  • Posts: 3
  • Forum Citizenship: +0/-0
Re: Cognos Analytics parameterized URL method
« Reply #1 on: 11 Mar 2019 02:08:28 pm »
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!

 



       
Twittear