Cognos Analytics

Cognos Analytics

Connect, learn, and share with thousands of IBM Cognos Analytics users! 

 View Only
  • 1.  pass parameter on url and run the report

    Posted Tue February 18, 2020 05:54 AM
    Hello,
    My environmnet is cognos 11.1.5 on windows server.
    I want to get a report from an html page, passing it the parameters. My problem is passed the parameter however the prompt page appears, how to automatically run the report with my parameter on the url. thank you
    here is my url
    <a href="
    https://servername/ibmcognos/bi/?pathRef=.public_folders%2FCookbook%2Fgraficobulletb&ui.action=run&CAM_action=logonAs&format=HTML&Download=falsep_Glass.urlLogonParameters=CAMNamespace,CAMUsername,CAMPassword&CAMNamespace=CognosEX&CAMUsername=username&CAMPassword=password&run.prompt=false&p_vanno=2010">report </a>

    ------------------------------
    Massimo
    ------------------------------

    #CognosAnalyticswithWatson


  • 2.  RE: pass parameter on url and run the report

    Posted Tue February 18, 2020 02:45 PM
    have you tried unchecking Report property:  Prompt for Values?

    ------------------------------
    Buddhi Gupta
    ------------------------------



  • 3.  RE: pass parameter on url and run the report

    Posted Wed February 19, 2020 04:28 AM
    thank you, Buddhi
    it works, with your suggestion plus  modify the url with prompt before ui.action=run

    https://servername/ibmcognos/bi/?pathRef=.public_folders%2FCookbook%2Fgraficobulletb&run.prompt=false&p_vanno=2010&ui.action=run&CAM_action=logonAs&format=HTML&Download=falsep_Glass.urlLogonParameters=CAMNamespace,CAMUsername,CAMPassword&CAMNamespace=CognosEX&CAMUsername=username&CAMPassword=password

    ------------------------------
    Massimo
    ------------------------------



  • 4.  RE: pass parameter on url and run the report

    Posted Thu February 20, 2020 06:57 AM
    ​How do you get the URL for running a report? We use 11.0.13

    ------------------------------
    brenda grossnickle
    BI Programmer Analyst
    FIS
    ------------------------------



  • 5.  RE: pass parameter on url and run the report

    Posted Sat February 22, 2020 12:16 PM
    Hello Brenda,
    I started from these  IBM URLs
    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


    Parameterized URL to perform login and open Dashboard or Report


    Embed live Cognos Analytics content in an external web page

    ------------------------------
    Massimo
    ------------------------------