The Bold BI Embed SDK enables you to visualize the dashboard published on the Bold BI server by including the server URL, dashboard path, and authorization server details in your application. 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.loadDashboard();
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",
embedContainerId: "dashboard-container",// This should be the container id where you want to embed the dashboard
authorizationServer: {
url: "http://example.come/authorize/server"
}
});
dashboard.loadDashboard();
</script>
Requires
boldbi-embed.js
In this section, the details of public APIs are mentioned along with code snippets. This legacy API names (events, methods, and members) will be deprecated after one year from this v13.1 release. We strongly encourage to begin transitioning to the new naming structure to ensure future compatibility.