The Bold BI Embedding SDK allows you to seamlessly integrate and visualize datasource published on your Bold BI server within your web applications. By specifying the server URL, datasource ID, and authorization server details, you can securely embed the datasource experience. 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.loadDatasource();
Example
<div id="container"></div>
<script>
function embedSample() {
var boldbiEmbedInstance = BoldBI.create({
serverUrl: "http://localhost:51777/bi/site/site1",
datasourceName: "Embed",
embedContainerId: "container",
mode: BoldBI.Mode.DataSource,
authorizationServer:{
url:"your-authorization-server-url"
}
});
boldbiEmbedInstance.loadDatasource();
}
</script>
Requires
boldbi-embed.js
In this section, the details of public APIs are mentioned along with code snippets.