Loading...
Loading...

Live Chat Icon For mobile
Hugo Morris

Chat with the Bold BI Sales team now!

Live Chat Icon
Default Rendering >Embedding Pinboard
Embedding Pinboard

Pinboard is a collection of individual widgets from the various dashboards pinned it.

This sample describes how to embed a Pinboard into your application using the pinboard name through JavaScript API method.
How can you explore?
Select dashboard from dropdown Select Dashboard option to allow respective widgets to be updated as follows. Select the widgets from Widgets checkbox to allow selected widgets to be displayed in Selected Widgets section. Click Add existing Pinboard to allow pinboard to be added in the existing tab.Click Create Pinboard icon to create new pinboard.
Properties
Add Existing Pinboard
Create Pinboard

Code snippet that enables this functionality.


    function renderPinboard() {
    var boldbiEmbedInstance = BoldBI.create({
        serverUrl: rootUrl + siteIdentifier,
        pinboardName: name,
        embedContainerId: "dashboard-container",// This should be the container id where you want to embed the dashboard
        embedType: BoldBI.EmbedType.Component,
        environment: BoldBI.Environment.Enterprise, // If Cloud, you should use BoldBI.Environment.Cloud,
        height: "800px",
        width: "1200px",
        authorizationServer: {
            url: "http://localhost:8080/embeddetail/get"
        },
        expirationTime: "100000",
        });
        boldbiEmbedInstance.loadPinboard();
    }