Search results

Bold BI Embedding SDK

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 this here.

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
          embedType: BoldBI.EmbedType.Component,
          environment: BoldBI.Environment.Enterprise,
          height: "800px",
          width: "1200px",
          authorizationServer: {
          url: "http://example.come/authorize/server"
          },
          expirationTime: "100000",     
     });
     dashboard.loadDashboard();
</script>

Requires

  • module:boldbi-embed.js

In this section, the details of public APIs are mentioned along with code snippets.