Cognos Analytics

Cognos Analytics

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

 View Only
  • 1.  How to open a Query(Legency QS) by URL

    Posted Mon May 27, 2019 10:13 AM
    According to doc: IBM Using Parameterized URL's in Cognos Analytics for legacy components
    Ibm remove preview
    IBM Using Parameterized URL's in Cognos Analytics for legacy components
    Just like Cognos 10, you can use parametrerized URLs on the legacy components in Cognos Analytics.
    View this on Ibm >


    I want to open a Query Studio (query) from URL, for example I have a query saved under 'my folder/folder/abc'. If I open the query by QS directly, then I got the edit mode which end user can do drag&drop query item.
    But If I want to open the query by URL, then I went into Report result, even I added action=edit parameter, it is wired for me. My url is like : http://ip:9300/bi/v1/disp?b_action=xts.edit&m=portal/lanch.xts&ui.tool=QueryStudio&ui.action=edit&pathRef=.my_folders/folder/abc

    Please let me know how can I open this abc through legency RS by URL

    ------------------------------
    Tom Z
    ------------------------------

    #CognosAnalyticswithWatson


  • 2.  RE: How to open a Query(Legency QS) by URL

    Posted Tue May 28, 2019 08:34 AM
      |   view attached

    @Tom Z The following URL should work for you

    http://localhost:9300/bi/v1/disp?b_action=xts.run&m=portal/launch.xts&ui.gateway=%2fbi%2fv1%2fdisp&ui.tool=QueryStudio&ui.object=storeID(%22iEF87F635E04E4A68940F53630FF03C4F%22)&ui.action=edit&ui&backURL=..%2Futils%2Fclose.html&ui.backURL=..%2Futils%2Fclose.html​​

    Note - You need to make the following changes:

    1. Change localhost to your hostname
    2. Change 9300 to your port number
    3. Change the storeID to match your report's Stored ID. Make sure to leave the %22 at the beginning and end of the storeID

    You can get this if you go to the properties of the report. (Screenshot Attached)


    I'm still testing to see if I can get this working using the report path as the storeID could change if the report is migrated.



    ------------------------------
    DENNY NAREZNY
    ------------------------------