100 likes | 347 Views
Using Parameterized URL’s to Extend Cognos Capabilities. Stephanie Jesperson Denver Water Department. Why Use Parameterized URL’s?. Leverage your organization’s current investment in Cognos. Minimize purchase and licensing costs Develop & deliver single versions of the truth
E N D
Using Parameterized URL’s to Extend Cognos Capabilities Stephanie Jesperson Denver Water Department
Why Use Parameterized URL’s? • Leverage your organization’s current investment in Cognos. • Minimize purchase and licensing costs • Develop & deliver single versions of the truth • Hiring additional developers for Source Apps may not be needed • Enhance the user experience. Provide a single point of entry to either a specific report, its output or a focused list of applicable reports.
Embedded URL: • http://UATCOG02/cognos8/cgi-bin/cognos.cgi?b_action=xts.run&m=portal/launch.xts&ui.tool=CognosViewer&ui.action=run&ui.object=/content/package[@name='eVoucher Data']/report[@name='eWOR - Work Order Request Snapshot']&ui.action=run&p_WONum=W98107&p_Pid=1234&run.prompt=false
Components of the URL: • Base URL: • http://UATCOG02/cognos8/cgi-bin/cognos.cgi?b_action=xts.run&m=portal/launch.xts • Name of the Cognos Tool to be Opened: • &ui.tool=CognosViewer&ui.action=run& • Search path to the Object (See Report Properties): • ui.object=/content/package[@name='eVoucher Data']/report[@name='eWOR - Work Order Request Snapshot'] • Action to take with this Object: • &ui.action=run • Define Parameters and Prompt Answers: • &p_WONum=W98107&p_Pid=1234 • Define if the Prompt Page Should Appear: • &run.prompt=false
Additional Parameters • Launch Report in a New Window • launch.openJSStudioInFrame • Remove any combination of Cognos Default Headers, Menus and Toolbars • &ui=h1h2h3h4 • Define what page should be displayed when the user closes the report or if the back button is used. • ui.backURL=http://<server-name>/cognos8/
Removing Headers & Toolbars Original URL URL Includes H1,H2, H3 & H4 parameters
Resources • IBM Support Links: • Tech Doc: http://download.boulder.ibm.com/ibmdl/pub/software/dw/dm/cognos/reporting/scripting_techniques/using_urls_in_cognos_8.pdf • Multimedia Video: http://www-01.ibm.com/support/docview.wss?uid=swg21341180
Linking to an External Application Standard Drill Through URL