Path to place D3 file in OBIEE 12c — Oracle Analytics

Oracle Analytics Cloud and Server

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

Path to place D3 file in OBIEE 12c

Received Response
31
Views
4
Comments
Rajagopal R-Oracle
Rajagopal R-Oracle Rank 5 - Community Champion

Hi.,

Please provide the path  where we need to place D3 js file to create D3 Visulization in OBIEE 12c or please provide the  D3 deployment steps  in 12c.

in Obiee 11g placed under instances/instance1/bifoundation/OracleBIPresentationServicesComponent/coreapplication_obips1/analyticsRes

Thanks

Answers

  • Joel
    Joel Rank 8 - Analytics Strategist

    @Gianni Ceresa wrote a blog about this some time ago.

  • As Joel said "analyticsRes" is the clean simple way of doing it.

    An alternative is to use the D3 which is already included in your OBIEE. VA/DV uses D3 and has it (it's part of the RequireJs config), so you can also load it from there. It's probably a older version (v3, not v4) and the path is a bit weird (look at it with your browser developer extension to see all the loaded JS files when you use VA/DV).

    You can also import the RequireJs from VA/DV and use that one to automatically load D3.

  • Rajagopal R-Oracle
    Rajagopal R-Oracle Rank 5 - Community Champion

    I followed your blog to deploy d3 under analyticsRes., how can we refer this in Narrative View

    just  <script src="d3/d3.js"></script>  this  will work

    Thanks

  • You need to use an absolute path as d3 isn't deployed next to the analysis.

    If your "analyticsRes" folder is deployed as /analyticsRes then you need to use /analyticsRes/d3/d3.js (assuming you created a d3 folder and put the file inside).

    But yes, with that kind of syntax you load d3, then you have to use it and that's a different thing