This enables you to create dashboards directly within your application, offering an integrated and collaborative experience.
Before you begin, ensure the following:
embedSecret is highly sensitive and should never be exposed in frontend code, browsers, or client applications.<div> in your frontend where the new Dashboard Designer will load. <body onload="embedSample();">
<div id="embed_container"></div>
<script>
function embedSample() {
var boldbiEmbedInstance = BoldBI.create({
serverUrl: "<Bold BI Server URL>",
mode:Bold.Mode.Design,
embedContainerId: "<Embed Container Id>",
embedToken: "<Embed token generated from backend server>"
});
boldbiEmbedInstance.loadDesigner();
}
</script>
</body>Note: For more information on designer members, methods, and events, refer to this link