Forum Discussion

mattkocak's avatar
mattkocak
Icon for Kudo Kingpin rankKudo Kingpin
4 years ago
Solved

Retain user's visual state for custom slicer (persist state)

I'm creating a custom slicer, but have run into an issue. If a user clicks on my custom slicer and reloads the page, then the filter from the custom slicer will still be retained, but the custom slic...
  • dm-p's avatar
    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