Forum Discussion
Retain user's visual state for custom slicer (persist state)
- 4 years ago
Hi mattkocak,
I have to admit it's been a little while since I've developed a slicer, but from what I remember, the visual host returns the slicer state upon updates (for cases like yours) and you just need to parse it and apply it to your visual's logic so that it represents the persisted state being returned. Have you tried this already?
Regards,
Daniel
Hi mattkocak,
I have to admit it's been a little while since I've developed a slicer, but from what I remember, the visual host returns the slicer state upon updates (for cases like yours) and you just need to parse it and apply it to your visual's logic so that it represents the persisted state being returned. Have you tried this already?
Regards,
Daniel
Excellent. The VisualUpdateOptions.jsonFilters array stores the filters applied from a visual between page reloads. With this info available, one can accomplish either solution 1 or 2 from my original post. Thanks!