Forum Discussion
Personal Bookmark Overwriting Updates to Filter Pane
- 6 months ago
Hi Hannahllmm ,
You're definitely on the right track with your thinking. Right now, embedded reports don’t have a built-in way to stop personal bookmarks from restoring everything to how it was saved including slicers and visual filters. That’s just how bookmarks work, even when embedded.
There’s nothing in the embed setup that can change this. The usual workaround is to let the bookmark load as normal, and then use the JavaScript Embed API to quickly reapply your required filter. Since your filter runs right after the bookmark, it ends up being what the user sees. If your filter is something that should always stick, it’s best to build that logic into the semantic model or DAX layer so bookmarks can’t override it. But if you can’t change the model, just reapplying the filter in your code is the way to go.
Thank you.
It sounds like for our use case the only option would be to programmatically reapply filters for existing personal bookmarks. Do you have any more information about this? Thank you
Hi Hannahllmm ,
You're definitely on the right track with your thinking. Right now, embedded reports don’t have a built-in way to stop personal bookmarks from restoring everything to how it was saved including slicers and visual filters. That’s just how bookmarks work, even when embedded.
There’s nothing in the embed setup that can change this. The usual workaround is to let the bookmark load as normal, and then use the JavaScript Embed API to quickly reapply your required filter. Since your filter runs right after the bookmark, it ends up being what the user sees. If your filter is something that should always stick, it’s best to build that logic into the semantic model or DAX layer so bookmarks can’t override it. But if you can’t change the model, just reapplying the filter in your code is the way to go.
Thank you.
- v-tejrama6 months agoCommunity Support
Hi Hannahllmm ,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions.
Thank you