Search results

Embedding Bold BI Dashboards in ColdFusion using the Embedded SDK

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.

How to run the sample

  1. Please download the BoldBI ColdFusion Embed sample from the attached file.

  2. You need to set the following properties in BoldBIEmbed.html and embedDetails.cfc file as follows.

    Embed Properties

    embed details

    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 enablingEnable embedauthentication in Administration page as mentioned in next step.
  1. You can get your Embed Secret key from the administrator setting section. Please refer to this link, for more details.

  2. Then, run your ColdFusion application.

Get dashboard ID

You could get the item id of the dashboard from the BI server. Please refer to this link and the following screenshot.

Get dashboard ID

After changing the above details in the sample, you can run the ColdFusion Forms and the dashboard will be rendered.

How this sample works

  1. Based on the dashboardId provided in the BoldBIEmbed.html, you will authorize the server URL by calling the GetEmbedDetails function as follows. embed details

  2. 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.

  3. In the BoldBIEmbed.html, you can change the dashboard Id of the respective dashboard as you wish to embed. Embed Properties