How to disable the auto recover option on draft reloading in Embedded Bold BI?
In Bold BI, you may want to disable the auto recover option that prompts users with a popup when reloading drafts in the Bold BI Dashboard Designer. This can be achieved by setting the disableAutoRecover property to true in the Embedded application.
Configuration
To disable the Auto Recover Popup, you can configure the disableAutoRecover property as a member in Embed SDK. Here’s how you can do it:
Syntax
var dashboard = BoldBI.create({
mode: BoldBI.Mode.Design,
disableAutoRecover: true, // Set to true to disable the Auto Recover Popup
});
dashboard.loadDesigner();
In the above code snippet:
mode is set to BoldBI.Mode.Design to load the dashboard in design mode or to create dashboard.
set the disableAutoRecover property to true to disable auto recover popup.
Default Value
The default value for disableAutoRecover is false, which means the Auto Recover Popup will be shown by default. To prevent this popup from appearing, ensure that you set the property to true.
By following the above steps, you can effectively manage the user experience in the Dashboard Designer by controlling the visibility of the Auto Recover Popup.