The Bold BI Embedding SDK allows you to seamlessly integrate and visualize dashboards published on your Bold BI server within your web applications. By specifying the server URL, dashboard ID, and authorization server details, you can securely embed the dashboard designer experience. For additional supported customization options in the Bold BI Embed SDK, please refer to the sample embed for more details.
Syntax
var dashboard = BoldBI.create(options);
dashboard.loadDesigner();
Example
<div id="container"></div>
<script>
// Embed Dashboard
var dashboard = BoldBI.create({
serverUrl: "http://localhost:51777/bi/site/site1",
dashboardId: "755e99c7-f858-4058-958b-67577b283309",
mode: BoldBI.mode.Design,
embedContainerId: "container",// This should be the container id where you want to embed the dashboard
embedToken: token
});
dashboard.loadDesigner();
</script>
Requires
boldbi-embed.js
In this section, the details of public APIs are mentioned along with code snippets.