This Bold BI WPF sample repository contains the Dashboard embedding sample. This sample demonstrates how to embed the dashboard which is available in your Bold BI server.
This section guides you in using the Bold BI dashboard in your WPF sample application.
The samples require the following requirements to run.
-
Open the WPF sample's solution file
BoldBI.WPF.Sample.sln
in Visual studio. -
Open the EmbedProperties.cs file and change the following properties as per your Bold BI Server.
Parameter | Description |
---|---|
RootUrl | Dashboard Server URL (Eg: http://localhost:5000/bi , http://demo.boldbi.com/bi ). |
SiteIdentifier | For the Bold BI Enterprise edition, it should be like site/site1 . For Bold BI Cloud, it should be an empty string. |
Environment | Your Bold BI application environment. (If Cloud, you should use cloud , if Enterprise, you should use enterprise ). |
DashboardId | Set the item id of the dashboard to embed from BI server. |
UserEmail | UserEmail of the Admin in your Bold BI, which would be used to get the dashboard list. |
EmbedSecret | Get your EmbedSecret key from the Embed tab by enabling the Enable embed authentication on the Administration page. |
Please refer to the help documentation to know how to run the sample.
Look at the Bold BI Embedding sample to live demo here.
A complete Bold BI Embedding documentation can be found on Bold BI Embedding Help.
NOTE: To mitigate issues related to NuGet packages, run the following command in package manager console Update-Package Microsoft.CodeDom.Providers.DotNetCompilerPlatform -r.