string
Defines the ID of the dashboard to be embedded from your Bold BI application.
""
(empty)Example
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
dashboardId: "5cb065f7-dabb-4b0c-9b45-c60a5730e963"
});
dashboard.loadDesigner();
string
Stores the dashboard path in the format of category name followed by dashboard name.
/{category-name}/{dashboard-name}
""
(empty)Example
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
dashboardPath: "/Samples/Sample Dashboard"
});
dashboard.loadDesigner();
string
The ID of a div element in which the dashboard will be initialized and rendered.
""
(empty)Example
<div id="container"></div>
<script>
// Embed Dashboard
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
embedContainerId: "container",
});
dashboard.loadDesigner();
</script>
object
There are two types of embedding available: component
and iframe
. In the component type, you will use the embedding SDK to render the dashboard. In the iframe type, you will load the dashboard URL in the iframe and the dashboard will be rendered.
BoldBI.EmbedType.Component
BoldBI.EmbedType.IFrame
BoldBI.EmbedType.Component
Example
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
embedType: BoldBI.EmbedType.Component,
});
dashboard.loadDesigner();
string
Stores the Embed Authorization API access token to reduce redundant API calls and improve performance.
""
(empty)Example
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
embedToken: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImRldm9wc0Bib2xkYmkuY29tIiwidXBuIjouYm9sZGJpZGVtby5jb20vYmkvc2l0ZS9zaXRlMSIsImF1ZCI6Imh0dHBzOi8vaG90Zml4LXdpbmRvd3MuYm9sZGJpZGVtby5jb20vYmkvc2l0ZS9zaXRlMSJ9.JzbqVr6Brv1mAEvnbHnE-FuShos",
});
dashboard.loadDesigner();
object
Specifies the type of Bold BI application, either Cloud or Enterprise edition.
BoldBI.Environment.Cloud
BoldBI.Environment.Enterprise
BoldBI.Environment.Enterprise
Example
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
environment: BoldBI.Environment.Enterprise,
});
dashboard.loadDesigner();
number
Specifies the access token expiration time of the dashboard in seconds.
86400
(24 hours)Example
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
expirationTime:100000,
});
dashboard.loadDesigner();
string
Defines the height of the embedding module in percentages or pixels.
Example
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
height:"800px", //The dashboard is now rendered with a height of 800px
});
dashboard.loadDesigner();
object
Defines the dashboard rendering mode.
BoldBI.Mode.View
BoldBI.Mode.Design
BoldBI.Mode.Connection
BoldBI.Mode.DataSource
BoldBI.Mode.View
Example
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
});
dashboard.loadDesigner();
string
The URL of the Bold BI application.
""
(empty)Example
var dashboard = BoldBI.create({
serverUrl: "https://mydashboard.com/bi/site/site1",
});
dashboard.loadDesigner();
string
Authenticates the dashboard without implementing the AuthorizeAPI endpoint.
""
(empty)Example
var dashboard = BoldBI.create({
token: "NjQ2ZDgwZjgtN2Q3MS00ZDQwLWFkNTItYTdkNDRhOGE2NmVi", // Use the generated API key
});
dashboard.loadDesigner();
To learn about the available limited supporting methods in embedding.
string
Defines the width of the embedding module in percentages or pixels.
Example
var dashboard = BoldBI.create({
width:"1200px", //The dashboard is now rendered with a width of 1200px.
});
dashboard.loadDesigner();
object
Transmits custom data or header values to the embedding application’s Authorization Server. As a result, you may find this value in the headers of the Authorization Server API.
{}
(empty object)Example
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
authorizationServer:{
headers: {
"Authorization": "Bearer eDIHDIJAdjakdnajdbaidhoasjasajnsJNININfsbfskdnskdnskdn"
}
}
});
dashboard.loadDesigner();
string
Any application that embeds a Bold BI dashboard and widget needs to authenticate with the Bold BI server. This authentication flow requires sending confidential information such as user email, group details, and embed signature to the Bold BI server. Therefore, you must implement this authentication flow in your server application and provide the URL for connecting to your server in the Bold BI embed instance.
""
(empty)Example
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
authorizationServer: {
url:"https://serversample.com/embed-details/get",
}
});
dashboard.loadDesigner();
boolean
Specifies whether Bing Map-related files need to be downloaded.
false
true
if the dashboard contains a Bing Map widget.Example
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
settings: {
bingMapRequired: false
}
});
dashboard.loadDesigner();
array
Specifies the value to add multiple data sources to the designer page, allowing customization of data source properties.
canEdit
: Specifies whether to show or hide the edit icon in the data source.canDelete
: Specifies whether to show or hide the delete icon in the data source.Example
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
settings: {
datasources: [
{"id": "348e414b-c8c6-4542-839a-2e12934fe64f", "canEdit": true, "canDelete": false},
{"id": "d9a28bba-e6dd-46c9-89d7-810ebb4796b3", "canEdit": false, "canDelete": true}
]
}
});
dashboard.loadDesigner();
boolean
Specifies whether to show or hide the Auto Recover
Popup in the Dashboard Designer.
false
Example
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
settings: {
disableAutoRecover: false
}
});
dashboard.loadDesigner();
Note: Please use the SDK and Bold BI server from the same version. Starting from version 13.1, the AI Assistant settings are restructured.
enabled
boolean
Enables the AI Assistant for generating and modifying widgets using natural language queries. The AI Assistant enhances widget creation and customization by leveraging advanced AI models, making data visualization more intuitive and accessible. This feature is available in both Cloud and Enterprise editions for Dashboard Viewer, and Dashboard Designer embeddings.
false
Example
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
settings: {
aiAssistant: {
enabled: true
}
}
});
dashboard.loadDesigner();
boolean
Specifies whether to show or hide the AI Chat Help
icon in the AI Assistant window. Requires the aiassistantenabled to be set.
false
Example
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
settings: {
aiAssistant: {
enabled: true,
hideChatHelp: true
}
}
});
dashboard.loadDesigner();
boolean
Specifies whether to show or hide the AI Data Usage
icon in the AI Assistant window. Requires the aiassistantenabled to be set.
false
Example
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
settings: {
aiAssistant: {
enabled: true,
hideUsageAnalytics: true
}
}
});
dashboard.loadDesigner();
boolean
Customizes the title of the AI Assistant as desired. Requires the enabled member API.
false
Example
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
settings: {
aiAssistant: {
enabled: true,
name: "Embedded AI"
}
}
});
dashboard.loadDesigner();
summary.enabled
boolean
Specifies whether to show or hide the dashboard and widget summary option. Requires the enabled member API.
false
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
settings: {
aiAssistant: {
enabled: true,
summary: {
enabled: true
}
}
}
});
dashboard.loadDesigner();
boolean
Specifies whether to show or hide the AI Dashboard Summary
option in the dashboard banner. Requires both aiassistantenabled and summaryenabled member APIs.
false
settings.aiAssistant.summary.dashboard
.Default value
Example
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
settings: {
aiAssistant: {
enabled: true,
summary: {
enabled: true,
dashboard: true
}
}
}
});
dashboard.loadDesigner();
boolean
Specifies whether to show or hide the AI Widget Summary
option in the widgets. Requires both aiassistantenabled and summaryenabled member APIs.
false
settings.aiAssistant.summary.widget
.Example
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
settings: {
aiAssistant: {
enabled: true,
summary: {
enabled: true,
widget: true
}
}
}
});
dashboard.loadDesigner();
boolean
The hideHelpLink
option allows you to show or hide the “Know More” option in the scrollable dashboard feature within Dashboard Designer and in the AI Assistant chat window.
Default value
Example
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
settings: {
brand: {
hideHelpLink: true
}
}
});
dashboard.loadDesigner();
string
The domain
option allows you to define a link to your custom domain help documentation application instead of using our Bold BI help documentation link in the help icon of the “Know More” option in the scrollable dashboard feature within Dashboard Designer and in the AI Assistant chat window.
Default value : empty
Example
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
settings: {
brand: {
domain: "https://yourdomain.com"
}
}
});
dashboard.loadDesigner();
string
The name
option allows you to customize the name in the AI Assistant chat window.
Default value : empty
Example
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
settings: {
brand: {
name: "Demo"
}
}
});
dashboard.loadDesigner();
integer
Customize the margins of the dashboard using the corresponding integer values.
null
Example
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
settings: {
designCanvas: {
margin: 30
}
}
});
dashboard.loadDesigner();
boolean
Specifies whether to show or hide the CSV
export option in designer preview option.
true
Example
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
settings: {
export: {
csv: true
}
}
});
dashboard.loadDesigner();
boolean
Specifies whether to show or hide the Excel
export option in designer preview option.
true
Example
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
settings: {
export: {
excel: true
}
}
});
dashboard.loadDesigner();
boolean
Specifies whether to show or hide the Image
export option in designer preview option.
true
Example
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
settings: {
export: {
image: true
}
}
});
dashboard.loadDesigner();
boolean
Specifies whether to show or hide the PDF
export option in designer preview option.
true
Example
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
settings: {
export: {
pdf: true
}
}
});
dashboard.loadDesigner();
The locale
allows you to change the localization of the dashboard, modifying data based on the specified localization.
string
Holds the value to change the language of the dashboard, data source, or widget.
en-US
Example
Note: The
fr-FR
language file has been generated in the Bold BI Server installed location.
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
settings: {
locale: {
appLocale: "fr-FR"
}
}
});
dashboard.loadDesigner();
string
Holds the value to change the dashboard’s culture, affecting formats like currency.
en-US
Auto (English(en-US))
. After setting a custom culture, the widget reflects the new format.Example
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
settings: {
locale: {
culture: "en-US"
}
}
});
dashboard.loadDesigner();
Additional Info:
- Default currency culture:
- Default grid view:
- Modified culture:
- Refer to Embedding In Your Application for setup steps. Use the
cultureSettings
API to adjust the culture post-embedding.
boolean
Specifies whether to show or hide the display of all columns in the table in the View Underlying Data
of the widget.
false
Example
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
settings: {
viewData: {
allColumns: true // Column options are all checked in the dashboard viewer and designer preview..
}
}
});
dashboard.loadDesigner();
boolean
Specifies whether to show or hide the “Select Column” button in the view underlying data
of the widget.
true
Example
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
settings: {
viewData: {
columnSelection: false // Select column button will be hidden in the dashboard viewer and designer preview.
}
}
});
dashboard.loadDesigner();
boolean
Specifies whether to show or hide the export option in the view underlying data
of the widget.
true
Example
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
settings: {
viewData: {
exporting: false // The Export option will be hidden in the dashboard viewer and designer preview.
}
}
});
dashboard.loadDesigner();
Specifies whether or not to update the Dashboards name in the header section for a Single Tab Dashboard.
""
(empty)Example (Single Tab Dashboard)
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
settings: {
viewer: {
dashboardName: "name"
}
}
});
dashboard.loadDesigner();
boolean
Specifies whether to show or hide the Edit
icon in dashboard banner.
Note: Edit icon will be show by default in dashboard viewer banner if the user has the designer permisson.
true
Example
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
settings: {
viewer: {
edit: false
}
}
});
dashboard.loadDesigner();
string
Customize the box shadow of the widgets.
""
(empty)Example
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
settings: {
viewer: {
widgetContainer: {
boxShadow: "10px 10px lightblue"
}
}
}
});
dashboard.loadDesigner();
integer
Customize the margins of the widget with the corresponding integer values.
null
px
suffix; only integer values are supported.Example
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
settings: {
viewer: {
widgetContainer: {
margin: 20
}
}
}
});
dashboard.loadDesigner();
boolean
Specifies whether to display or hide the Preview as
option in the designer preview.
true
Example
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
settings: {
designer: {
previewAs: true // By default, the previewAs button will be shown.
}
}
});
dashboard.loadDesigner();
boolean
Specifies whether to show or hide the Data source
configuration button in the dashboard designer.
false
Example
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
settings: {
designer: {
dataSourceConfig: {
hideDataSourceConfig: false // By default, the datasource configuration is shown.
}
}
}
});
dashboard.loadDesigner();
boolean
Specify whether to show or hide the Data source List
dropdown configuration in the dashboard designer.
false
Example
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
settings: {
designer: {
dataSourceConfig: {
hideDataSourceList: false // By default, the datasource list dropdown is shown.
}
}
}
});
dashboard.loadDesigner();
boolean
Specify whether to show or hide the Hide Expression
configuration button in the dashboard designer.
false
Example
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
settings: {
designer: {
dataSourceConfig: {
hideExpression: false // By default, the add expression button is shown.
}
}
}
});
dashboard.loadDesigner();
boolean
Specifies whether to show or hide the Sample Datasources
option under the datasource configuration in the dashboard designer.
false
Example
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
settings: {
designer: {
dataSourceConfig: {
hideSampleDataSources: false // By default, the sample datasource option is shown.
}
}
}
});
dashboard.loadDesigner();
Predefined or preconfigured widgets are a list of widgets that appear under the Default Widget Panel
when initializing the dashboard designer. To achieve this, create a template dashboard and configure the widgets to be considered as predefined widgets for your designer.
string
Specifies the value to set the category name where the widget will be added in the designer.
""
(empty)categoryName
exists, predefined widgets are added to that category.categoryName
does not exist, a new category with the given name is created.Miscellaneous
category by default.Example
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
settings: {
designer: {
preConfiguredWidgets: {
categoryName: ""
}
}
}
});
dashboard.loadDesigner();
string
Specifies the value to set the dashboard ID from which preconfigured widgets will be listed in the embedded dashboard designer.
""
(empty)Example
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
settings: {
designer: {
preConfiguredWidgets: {
dashboardId: ""
}
}
}
});
dashboard.loadDesigner();
Array
The dashboard widgets can be added to the existing panel tab.
[]
(empty array)Example
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
settings: {
designer: {
widgetsPanel: {
existingDashboards: [] //Here you are able to pass the n number of dashboard ids.
}
}
}
});
dashboard.loadDesigner();
boolean
Please indicate whether to display or hide the Default Widgets
panel tab in the dashboard designer.
false
Example
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
settings: {
designer: {
widgetsPanel: {
hideDefaultWidgets: false // By default, the Default Widgets will be shown.
}
}
}
});
dashboard.loadDesigner();
boolean
Specifies whether to show or hide the Existing Widgets
panel tab on the dashboard designer.
false
Example
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
settings: {
designer: {
widgetsPanel: {
hideExistingWidgets: false // By default, the Existing Widgets will be shown.
}
}
}
});
dashboard.loadDesigner();