Articles in this section
Category / Section

Resolving "BoldBI is not defined" Error in JavaScript Embedding

Published:

When Embedding the Bold BI dashboard into your application, it’s crucial to ensure that the Embed SDK is correctly referenced. An error such as “BoldBI is not defined” typically indicates that the Embed SDK CDN URL or NPM package has not been properly included in your application.

Steps to Resolve the Issue

  1. Verify Embed SDK Reference: Check your application to confirm that the Embed SDK is being utilized correctly. This involves ensuring that the CDN URL is present and correctly formatted in your application’s code.

  2. Use the Correct CDN URL: The Embed SDK CDN URL should be included in your application as follows:

    <script src="https://cdn.boldbi.com/embedded-sdk/{version}/boldbi-embed.js"></script>
    

    Replace {version} with the version number of your Bold BI server. You can find your product version by visiting the Bold BI version help page.

    For example, if your Bold BI server version is 6.5.8, the URL will be:

    <script src="https://cdn.boldbi.com/embedded-sdk/v6.5.8/boldbi-embed.js"></script>
    

By following these steps, you should be able to resolve the “BoldBI is not defined” error and successfully embed the Bold BI dashboard into your application.

Please note that the version number in the CDN URL is crucial and must match the version of the Bold BI server you are using. Always refer to the official documentation for the most accurate and up-to-date information.

Additionaly Reference

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
SM
Written by Soundarya Mani Meharan
Updated:
Comments (0)
Please  to leave a comment
Access denied
Access denied