Created a ColdFusion application for achieving this embedding. Here, set the server and dashboard details as the embed details, and the dashboard will be rendered after passing the authorization.
NOTE: Reading the Getting Started section of the documentation is the best way to get started. The Getting Started guide provides you enough information that you need to know before working on the sample.
Please download the BoldBI ColdFusion Embed sample from the attached file.
You need to set the following properties in
embedDetails.cfc file as follows.
|ServerUrl||Dashboard Server BI URL (ex: http://localhost:5000/bi/site/site1, http://dashboard.syncfusion.com/bi/site/site1)|
|DashboardID||Provide the dashboard id of the dashboard you want to embed here.Please refer below how to get the dashboard id.|
|UserEmail||UserEmail of the Admin in your Bold BI, which will be used to get the dashboards list|
|EmbedSecret||You can get your EmbedSecret key from embed tab by enabling
You can get your Embed Secret key from the administrator setting section. Please refer to this link, for more details.
Then, run your ColdFusion application.
You could get the item id of the dashboard from the BI server. Please refer to this link and the following screenshot.
After changing the above details in the sample, you can run the ColdFusion Forms and the dashboard will be rendered.
Based on the dashboardId provided in the
BoldBIEmbed.html, you will authorize the server URL by calling the GetEmbedDetails function as follows.
In the above authorization, generated the SignatureUrl with the provided EmbedSecret key and validate the embed details in Bold BI. Once details are validated, the dashboard starts to render.
BoldBIEmbed.html, you can change the dashboard Id of the respective dashboard as you wish to embed.