Search results

Bold BI Dashboards embedding in ColdFusion using Embedded SDK

A GitHub link has been provided to get the sample application, which demonstrates the rendering of dashboard available in your Bold BI server and followed by steps to create a new embedding application in the ColdFusion on your own.

NOTE: The best way to get started would be reading the Getting Started section of the documentation. The Getting Started guide gives you enough information that you need to know before working on the sample.

How to run the sample

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

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

    Embed Properties

    embed details

    ServerUrl Dashboard Server BI URL (ex: http://localhost:5000/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.
  3. You can get your Embed Secret key from the administrator setting section. Please refer to this link for more details.

  4. Run your ColdFusion application.

How this sample works

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

  2. In the above authorization, generate 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, change the dashboard Id of the respective dashboard as you wish to embed. Embed Properties