IBM Support

How to run a report using a parameterised URL

Technote (FAQ)


Question

This document provides the syntax for a URL which can be used to invoke a report and have it displayed in Cognos Viewer

Answer

1. Get the ID of the report by viewing the properties of the report and, in the General tab, select Advanced. The storeID appears on the ID field. Capture this value and place into the StoreID section of the URL
ca11.jpg

2. URLs...

Dispatcher:
http://dispatcher_server:9300/bi/v1/disp?b_action=cognosViewer&run.outputFormat=HTML&run.prompt=true&ui.object=storeID (%22insert_StoreID_here%22)&ui.action=run&cv.header=false&cv.toolbar=false Change the port from 9300 to your configured dispatcher port Gateway... [gateway_server/ibmcognos/cgi-bin/cognosisapi.dll?b_action=cognosViewer&run.outputFormat=HTML&run.prompt=true&ui.object=storeID(%22insert_StoreID_here%22)&ui.action=run&cv.header=false&cv.toolbar=false

Document information

More support for: Cognos Analytics
Administration and Configuration v11x

Software version: 11.0

Operating system(s): AIX, HP-UX, Linux, Solaris, Windows

Reference #: 1983556

Modified date: 20 September 2016


Translate this page: