Articles in this section
Category / Section

Resolving "404 errors" for script and style files when Embedding Bold BI Dashboards

Published:

When embedding a Bold BI dashboard into an application, you may encounter 404 (NOT FOUND) errors for various script and CSS requests. This issue is likely due to an incorrect configuration of the environment or serverUrl property in the BoldBI.create method.

Solution

To resolve the issue, update the BoldBI.create method with the correct environment and serverUrl property values as shown below:

var dashboard = BoldBI.create({
    serverUrl: "http://localhost:5000/bi", // For Bold BI cloud tenants 
    environment: BoldBI.Environment.Cloud, //For Bold BI cloud tenants
});

dashboard.loadDashboard();

The above code snippet demonstrates the serverUrl and environment values for cloud tenants, and for Bold BI on-premise, use https://{Domain}/bi/site/{TenantIdentifier}for serverUrl and for environmentBoldBI.Environment.Enterprise This configuration should resolve the 404 errors and allow the dashboard to load properly.

Additional Resources

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