You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+25-17Lines changed: 25 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,33 +2,41 @@
2
2
3
3
This Bold BI Java Servlet sample repository contains the Dashboard embedding sample. This sample demonstrates how to embed the dashboard which is available in your Bold BI server.
4
4
5
-
This section guides you in using the Bold BI dashboard in your Java Servlet sample application.
5
+
## Dashboard view
6
6
7
-
*[Requirements to run the demo](#requirements-to-run-the-demo)
8
-
*[Using the Java Servet sample](#using-the-java-servlet-sample)
9
-
*[Online Demos](#online-demos)
10
-
*[Documentation](#documentation)
7
+

11
8
12
-
## Requirements to run the demo
9
+
## Requirements
13
10
14
11
The samples require the following requirements to run.
* Google Chrome, Microsoft Edge, and Mozilla Firefox.
19
19
20
-
* Open the file `index.jsp` of the sample in Eclipse.
20
+
## Configuration
21
21
22
-
* Please change the following properties in the `index.jsp` file as per your Bold BI Server.
22
+
* Please ensure you have enabled embed authentication on the `embed settings` page. If it is not currently enabled, please refer to the following image or detailed [instructions](https://help.boldbi.com/site-administration/embed-settings/#get-embed-secret-code?utm_source=github&utm_medium=backlinks) to enable it.
23
23
24
-
|**Parameter**|**Description**|
25
-
|------------------|-----------------|
26
-
|**RootUrl**| Dashboard Server URL (Eg: `http://localhost:5000/bi`, `http://demo.boldbi.com/bi`). |
27
-
|**SiteIdentifier**| For the Bold BI Enterprise edition, it should be like `site/site1`. For Bold BI Cloud, it should be an empty string. |
28
-
|**Environment**| Your Bold BI application environment. (If Cloud, you should use `cloud`, if Enterprise, you should use `onpremise`). |
29
-
|**DashboardId**| Set the item id of the dashboard to embed from BI server. |
30
-
|**EmbedSecret**| Get your EmbedSecret key from the Embed tab by enabling the `Enable embed authentication` on the Administration page [link](https://help.boldbi.com/embedded-bi/site-administration/embed-settings/?utm_source=github&utm_medium=backlinks). |
31
-
|**UserEmail**| UserEmail of the Admin in your Bold BI, which would be used to get the dashboard list. |
* To download the `embedConfig.json` file, please follow this [link](https://help.boldbi.com/site-administration/embed-settings/#get-embed-configuration-file?utm_source=github&utm_medium=backlinks) for reference. Additionally, you can refer to the following image for visual guidance.
* Copy the downloaded `embedConfig.json` file and paste it into the designated [location](https://github.com/boldbi/java-servlet-sample/tree/master/WebContent) within the application. Please ensure you have placed it in the application, as shown in the following image.
* Import the sample [folder](https://github.com/boldbi/java-servlet-sample/tree/master) in Eclipse.
38
+
39
+
* Run the project by Right‑clicking it then `Run As → Run on Server`.
32
40
33
41
Please refer to the [help documentation](https://help.boldbi.com/embedded-bi/javascript-based/samples/v3.3.40-or-later/other-platform-samples/#java-servlet-sample-to-embed-dashboard?utm_source=github&utm_medium=backlinks) to know how to run the sample.
0 commit comments