Cognos Analytics

Cognos Analytics

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

 View Only
  • 1.  URL object in Cognos Analytics not working

    Posted 28 days ago
    Edited by Mack L 28 days ago

    Hi,

    A URL object mapped to a web page located in our Cognos server is not displaying content (does not display data). The same worked in one of the previous versions of Cognos Analytics (11.0.x). Currently we are using Cognos 11.2.4. The web page here contains html code to display charts where each chart is a reference to another webpage containing the chart. What I am getting is a blank page when I run the url object in Cognos team content.

    Please suggest what could be going wrong here.

    Regards,

     



    ------------------------------
    Mack L
    ------------------------------



  • 2.  RE: URL object in Cognos Analytics not working

    Posted 27 days ago

    Hi Mack,

    It could be an issue with the new security (since v11.2 and later versions) that prevent cross-site request forgery (CSRF) attacks. You might need to setup the cookieSameSite attribute.

    You will find more information in this page: Setting the cookieSameSite attribute - IBM Documentation

    Best regards,



    ------------------------------
    Patrick Neveu
    BSL Consulting
    IBM Champion
    ------------------------------



  • 3.  RE: URL object in Cognos Analytics not working

    Posted 21 days ago

    Hi @Patrick Neveu,

    I have gone through the link you provided. Is this relevant to this issue?, asking because in my case, the web page is located in the Cognos server itself and not outside. The information in the link mentions where error is thrown in case of the web page hosted in a different domain than the report server. In my case, I am not getting an error but an page with only borders but without the data (charts). 

    "To prevent cross-site request forgery (CSRF) attacks, some browsers may return error messages if HTML files containing iFrames are hosted in a different domain than the report server. To avoid these errors, you can configure the Configuration.cookieSameSite ad....................."

    However, I have tried the Configuration.cookieSamSite = None without any success with the htm page.

    Please suggest.

    Regards,



    ------------------------------
    Mack L
    ------------------------------



  • 4.  RE: URL object in Cognos Analytics not working

    Posted 21 days ago

    Hi Mack,

    I figured that might be a solution. Sorry, I have no other idea at this time.

    Best regards,



    ------------------------------
    Patrick Neveu
    BSL Consulting
    IBM Champion
    ------------------------------