How to stop View page param from caching value

I have a View with an associated page that has a single parameter. The param on the View is configured with a default value just by setting the value to it when it’s saved (e.g. true).
The only time I want to pass this param into the URL is when it’s not the default value, e.g. false. But when I pass in “http://gateway/url..../false”, and then remove the false and not pass in any param value to the url, the false value still remains. I’m assuming that the value is cached… How do I stop it from caching?

2 Likes

Same issue here. Would love to know how.

i have the same problem. we have a view with database Select Query, and if i load data on the table, and then i delete that data on the database, if i refresh the perspective view, it brings all the data back on the view, even when the DB has no data on that table

I tried using a incognito in chrome to do the test but it does the same thing.

any ideas?

You can actually set the params to be non-persistent... I'm not sure if that works though. Setting them to non-persistent also kinda removes them from the view's definition... so when you reopen it in the Designer they disappear from view :slight_smile:

Which is why you should always use coalesce() with such properties/params.

1 Like