This method will render the dashboard with a view based on the view options provided while calling the create method.
Example
var dashboard = BoldBI.create({
serverUrl: "https://boldbidemo/bi/site/site1",
viewId: "b64aebef-58ca-4033-b81a-39350c849b75",
embedContainerId: "dashboard_container", // This should be the container id where you want to embed the dashboard
authorizationServer: {
url: "https://boldbidemo/authorize/server"
}
});
dashboard.loadView();
Other than the loadView
method described above, all other methods available for dashboard views are identical to those used when embedding dashboards. For a complete list of supported method, please refer to the dashboard method documentation.