Oracle Analytics Cloud and Server

Google Organizational Charts not rendering in OBI 12.2.1.4

Accepted answer
81
Views
6
Comments

Google Organizational Charts not rendering in OBI 12.2.1.4.It was
working in 11g when the api is called using java script.Any known pointers
pls?

Tagged:

Best Answer

  • User_275WC
    Answer ✓

    Hi All,

    Adding this tag in instanceconfig.xml did the trick for us:

    <DisableContentSecurityPolicy>true</DisableContentSecurityPolicy>

Answers

  • Federico Venturin
    Federico Venturin ✭✭✭✭✭

    Hi @User_275WC ,

    Did you set EnableSavingContentWithHTML to true in instanceconfig.xml?

    The Contains HTML Markup functionality is disabled by default in OBIEE 12c.

  • Gianni Ceresa
    edited July 3

    Did you configure your OBIEE 12c to allow the Google files to load? CORS/CSP/browser protections is a real thing, and in 12c you must configure it to allow the Google JS files to load.

    Look at your browser developer extension and you should see if the JS files are blocked because of the default CORS/CSP/browser protections settings.

    If they are blocked, then configure your OBIEE 12c correctly to allow to load those files.

  • Hi Federico / Gianni,

    Thanks for your inputs.

    On further investigations , we found that the issue is caused by the default content security policy headers set by OBIEE. We are setting the headers via NetScaler, so we are ending up with two CSP headers and we would like to disable the headers from OBIEE. Doc ID 2675649.1 mentions “if it is enabled” only talks about adding policy. We would like to turn this off.

    Please could you suggest?

    Thanks in advance.

  • @User_275WC read on two lines below the "if it is enabled" you're quoting. The answer is already in the document you've referenced.

    It says that it's not possible to update the default headers and that you can only append.

  • Christian Berg -Oracle
    edited July 3

    Edit: Nevermind I had forgotten this was OBI 12.2.1.4 from 2018.