Embed Oracle Analytics Content into a Custom Application That Doesn’t Use Oracle JET
Use JavaScript Embedding Framework V2 to embed Oracle Analytics content in a custom application that doesn't use Oracle JET.
If the custom application uses a technology other than Oracle JET, use the standalone V2 embedding mode. V2 first loads a lightweight entry script and then loads the embedding implementation required by the page. This approach avoids adding Oracle Analytics dependencies, such as RequireJS, Knockout, and jQuery, to the host application namespace.
If the Developer option isn't displayed in the workbook's Menu, then you need to enable it. See Enable Oracle Analytics Developer Options.
Complete Example
Here project-path specifies the workbook's path.
<!DOCTYPE html>
<html dir="ltr">
<head>
<meta charset="utf-8">
<title>Standalone Oracle Analytics V2 Embed Demo</title>
<script
src="https://<instance>.analytics.ocp.oraclecloud.com/public/dv/v2/embedding/standalone/embedding.js"
type="text/javascript"></script>
</head>
<body>
<h1>Embedded Oracle Analytics Workbook</h1>
<div style="width: calc(100% - 40px); height: calc(100vh - 120px)">
<oracle-dv project-path="/shared/embed/test-embed">
</oracle-dv>
</div>
<script>
oracle.oa.embedding.ready().then((application) => {
application.applyBindings();
});
</script>
</body>
</html>