Search results

Bold BI Embedding SDK For Widget

The Bold BI Embed SDK enables you to visualize the widget in the particular dashboard published on the Bold BI server by including the server URL, dashboard Id, 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 boldbiEmbedInstance = BoldBI.create(options);
boldbiEmbedInstance.loadWidget("efbf2999-f7e7-4831-a492-53c4df394af0");

Example

     <div id="container"></div> 
     <script> 
          function embedSample() {
               var boldbiEmbedInstance = BoldBI.create({
                    serverUrl: "http://localhost:51777/bi/site/site1",
                    dashboardId: "9a4b8ddb-606f-4acd-8c53-8ccdcaa92a87",
                    embedContainerId: "embed_container",
                    authorizationServer:{
                         url:"your-authorization-server-url"
                    }
               });
               boldbiEmbedInstance.loadWidget("efbf2999-f7e7-4831-a492-53c4df394af0");
          }
     </script>

Requires

  • module:boldbi-embed.js

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