This section explains how to embed the Bold BI dashboard into an ASP.NET MVC sample application by providing the dashboard URL.
You need to follow these steps before running the given sample:
You need to set the following properties in
EmbedProperties.cs file as follows.
|RootUrl||Dashboard Server BI URL (ex: http://localhost:5000/bi, http://dashboard.syncfusion.com/bi)|
|SiteIdentifier||For Bold BI Enterprise edition, it should be like
|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.
Index.cshtml file, set the URL of the dashboard in the variable
dashboardUrl that you want to render.
To get the dashboard URL, click on the
Dashboard name in the dashboard list page. The dashboard will open in a new window when you click it. In that window, you can get the dashboard URL by copying the link up to the question mark, as shown in the following image.
Then, run your MVC application.