Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

OBIEE - Google Hierarchical View missing the first time

Received Response
2
Views
4
Comments
Camilo Flores
Camilo Flores Rank 4 - Community Specialist

Hello

I have included the Google chart  api for dispalying a Hierarchical View. It works.

However when I display the report in the Dashboard for the first time with some new data it (most of the times) is missing, then i have to move back to revious selection or edit the report containing the tree and then return to the Dashboard, the the Tree View is dispplayed

Has anyone faced this issue ?  Any suggestions about how to fix it ?

https://developers.google.com/chart/interactive/docs/gallery/orgchart http://www.sandeepvenu.com/2013/11/google-organization-chart-in-obiee-11g.html

http://www.sandeepvenu.com/2013/11/google-organization-chart-in-obiee-11g.html

Thanks

Camilo

Answers

  • Hi,

    You need to fix your code ...

    If the first time it doesn't display anything and need to reload it to see something it sounds like you aren't managing events correctly, and try to make some work too early when things aren't loaded (and it works the second time as things are in cache).

    You don't provide anything about your version and what you exactly did, so difficult to tell you more.

    But as you are working "outside" of the OBIEE visualization it's clearly your code having an issue and you can't point at OBIEE for this problem.

  • Camilo Flores
    Camilo Flores Rank 4 - Community Specialist

    Thanks  Gianni

    I have being testing and seems to be a problem with my Network configutation, I revirewed the Development View of the Browser and it shows errors  (only the first time for certain criteria)

    ajax.js:1

    Failed to load https://www.gstatic.com/charts/loader.js:

    Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

    Origin 'http://xxx.xxx.xxxx:xxxx' is therefore not allowed access.

    I am still investigating

    Thanks

    Camilo

  • What version of OBIEE are you using? I would guess it's a 12c and you didn't configure CSP correctly ....

    Look at https://gianniceresa.com/2016/10/google-map-in-an-obiee-12c-analysis/  (the part about CSP) and also https://obieeil.blogspot.ch/2017/12/obiee-12-with-external-images.html (also the part about configuring CSP)

  • Camilo Flores
    Camilo Flores Rank 4 - Community Specialist

    Hello Gianni

    I am using 11.1.1.7.150120, and it works when i revisit the report

    Thanks

    Camilo