palantir-foundryfoundry-workshop

How can I set a variable in my workshop module via URL?


I currently have a workshop module that allows users to view a set of objects and then filter them according to a filter widget.

I would like my users to be able to set which filters are applied via URL such that they can quickly apply their default filters.

How can I achieve this?


Solution

    1. Create a variable for each filter you would like the user to be able to apply via URL.
    2. Promote the variable so that it can be update via the URL. enter image description here
    3. Update the filter output to use the variables you created above. enter image description here