Filter preset save on click of a button

Is it possible to save the output of filter list widget for a specific loggedin user which will also be passed as a variable to an object set definition that will be displayed in exploration pills. And when the same user again uses the application, can we prefilter based on the already saved filter?
I tried the state saving feature that is readily available in workshop, but it has limitations/restriction: One key limitation is that state saving is only available for users with platform access. Users without platform access will not be able to use state saving components, which affects the filter persistence feature you were asking about earlier.

But the requirement strictly want us to make use of a button in the workshop module which automates this. Do I need to create a custom Action that makes this possible?

Is it possible to set default view when “toggle light or dark” is enabled to dark on page load?

Hi @Benutzer7 I understand what you are looking for is a way how to save the object set filter variable as a stringified json property of an object type like “customUserFilters”.

As per my knowledge there is no first class solution for this since there is no built-in function or typescript function stringify filter variables to json string and vice versa.

In the past we had built a workaround for ourselves using a hidden slate module solely for this purpose. We described it here, but I have to give a disclaimer: this approach works, but it is like shooting through the knee into the heart.

Since this feature has been requested couple of times, it would be great if Foundry PD could share if they have any concrete items on the roadmap? :slight_smile:

https://community.palantir.com/t/enable-saving-of-object-set-filters-in-workshop/2653/6?u=phil-m

1 Like