Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 14 Oracle Analytics Lounge
- 211 Oracle Analytics News
- 41 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 78 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
How do I use a different JS library when creating an OAC plugin

Hello,
I was wondering If I can use a different JS library for plugin development. I currently use d3.js by adding it like this:
'obitech-application/extendable-ui-definitions',
'obitech-appservices/logger',
'd3v6js',
What if I want to use plotly.js instead?
Answers
-
I believe the main difference is that d3 id provided as part of the product, while any other library doesn't exist out of the box in the product. Therefore you would need to provide the library itself too and get that deployed, otherwise it will not be found.
Didn't look at custom DV plugins for years, can't remember if/how you can add such kind of library to your plugin (and of course you also need to make sure that licensing is good: not all JS libraries can be used freely for everything).
0 -
You can use any library, provided
- the library is compatible with DV SDK
- you're aware of the legal implications of that library if you're considering it to publish publicly
You can include the library as a file in the plugin folder and access it similar to other files
0