Forum Discussion
3 Replies
- harikm007Data Warehouse
Hi Developer103 ,
Try the script in this article: https://support.sisense.com/kb/en/article/reset-to-default-filters-when-loading-dashboard-to-include-all
-Hari
- Developer103Data Storage
I tried this also btw, I am using embed SDK for SISENSE , in documentation they have suggested to pass persist flag value as false so the changes will not persist but this is not happening in my dahsboard even after passing the flag value as false.
- francoisvvCloud Apps
You can try the following code by adding it as a custom script to your dashboard by clicking on the 3 dots on your dashboard, selecting EDIT SCIPT and adding the following code there. Once added, just save and then refresh your dashboard.
dashboard.on('initialized', () => {
dashboard.filters.clear();
dashboard.filters.update([], {refresh:true, save:true});
console.log('filters deleted!');
});