Cognos Analytics

Cognos Analytics

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


#Product
#Analytics
#CognosAnalytics
#Analyticstools
#TechXchange Partner
#TechXchange Session
#TechXchange Presenter
#AI
 View Only
  • 1.  Issue with Parameterized URL to launch dashboards

    Posted 05/18/20 09:56 AM

    I ran into an issue with launching dashboards using parameterized URLs.

    In dev environment, I used the following URL and it works, dashboard was loaded into the browser.
    https://devserver:port/bi/v1/disp?perspective=dashboard&objRef=iB0E478144955459DA60B1989B7AEF48F&action=view&mode=dashboard&CAMNamespace=xxxxxx&CAMUsername=xxxx&CAMPassword=xxxx


    The same URL when pointed to prod environment, I get the login screen instead of dashboard being loaded in the browser.
    https://prodserver:port/bi/v1/disp?perspective=dashboard&objRef=iB0E478144955459DA60B1989B7AEF48F&action=view&mode=dashboard&CAMNamespace=xxxxxx&CAMUsername=xxxx&CAMPassword=xxxx


    I did another test in prod environment, I used the following URL to test if the URL logs me in. And it worked, Cognos logged me in.
    https://prodserver/bi/v1/disp?&CAMNamespace=xxx&CAMUsername=xxxx&CAMPassword=xxx


    To rule out any permissions issue, I logged into prod environment with the same uid/pwd and opened the dashboard. It worked successfully.


    Just want to know if anyone experienced similar behavior. If so, how it was resolved.


    In the meantime I opened a case with IBM and waiting for a resolution.

    Thank you for your help!

    ------------------------------
    Vithal Madhira
    ------------------------------

    #CognosAnalyticswithWatson


  • 2.  RE: Issue with Parameterized URL to launch dashboards

    Posted 05/18/20 12:24 PM
    You may need to change ID for dashboard you are referring. During deployment, there is option to keep id same while importing. If not done, each environment will have different object id and need to refer to it in URL.

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



  • 3.  RE: Issue with Parameterized URL to launch dashboards

    Posted 05/18/20 12:46 PM
    Hi Buddhi,

    I think I did not change the objID in the URLs I posted here but I am using different objIDs specific to environment. So, that is not the issue. 

    Thank you.
    Vithal

    ------------------------------
    Vithal Madhira
    ------------------------------



  • 4.  RE: Issue with Parameterized URL to launch dashboards

    Posted 05/19/20 05:20 AM
    Hi, 

    Try this...

    https://prodserver:port/bi/v1/disp?CAMNamespace=xxxxxx&CAMUsername=xxxx&CAMPassword=xxxx&m_redirect=/bi/?perspective=dashboard&objRef=iB0E478144955459DA60B1989B7AEF48F&action=view&mode=dashboard

    Regards

    ------------------------------
    Kiran Passumarthi
    www.linkedin.com/in/kiranpassumarthi
    ------------------------------



  • 5.  RE: Issue with Parameterized URL to launch dashboards

    Posted 05/19/20 10:19 AM
    Thank you Kiran for the reply. Actually I missed adding a configuration setting in Prod that I did in Dev during development. I added 'Glass.urlLoginParameter' 
    in Dev but I missed it in Prod. IBM support helped me resolve it. Here is the link to the tech note. I am adding this info hoping it will be useful for others.

    https://www.ibm.com/support/pages/parameterized-url-perform-login-and-open-dashboard-or-report


    Now I have another question. Is there a way for me to compare all configuration settings between different environments or generate a report that shows all configuration settings in a single environment? I hope I am clear about explaining my requirement.

    Thanks,
    Vithal

    ------------------------------
    Vithal Madhira
    ------------------------------



  • 6.  RE: Issue with Parameterized URL to launch dashboards

    Posted 05/19/20 11:05 AM
    Hi Vithal, 

    I believe Glass.urlLoginParameter setting is required ONLY if you use the /bi/ end point which was introduced in 11.x version. But without it, you should still be able to use /bi/v1/disp end point for authentication. At least that is what happened in our case till 11.0.11 which is our current production version. 


    Reg. the other question, it may be a question you may want to ask support to see if there is a way to export all parameters and their set values. Unfortunately, I am unable to help you in that regard.

    Regards



    ------------------------------
    Kiran Passumarthi
    www.linkedin.com/in/kiranpassumarthi
    ------------------------------