Articles in this section
Category / Section

Embedding BoldBI Dashboards with Dynamic Headers in Web API type data sources

Published:

When embedding Bold BI dashboards in a web application, it may be necessary to pass the authentication information in your headers to retrieve the data from the REST API endpoint. Apart from the authentication information, you can able to pass any information through the header based on the user to get their respective data.

To achieve this, you need to create dashboard parameters with default values and pass them through headers. These can be passed dynamically when embedding. Here are the steps to follow:

  1. Create the dashboard parameters with default values. You can follow the steps in this help link.

  2. Assign the dashboard parameters to the headers. For example, if you have a token created as a dashboard parameter, it can be configured in the header section.

    image.png

  3. When embedding the dashboard in your application, pass the dashboard parameter values to apply them dynamically. If you are using JavaScript-based embedding, follow the instructions in this help link.

  4. If you are using iframe-based embedding, pass the dashboard parameter as per this help link.

By following these steps, you can successfully pass authentication headers to your API endpoint when embedding BoldBI dashboards in your web application.

References

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
RM
Written by Reethika Moovendhan
Updated:
Comments
Please  to leave a comment
Access denied
Access denied