What is persistValue?

  • Goal: I want to clarify the undocumented attribute.

  • Steps: After creating a Variable, the variable has a few attributes related to "persisted": persistValue, persistedValueKey, etc.

  • Details: Can you please clarify what is it? Because I'm building one application which needs the variable be available even after reloading my webpage. I don't want to use localStorage because it's not flexible.

Hi @EdricJ :wave:

Support for persisting values across browser sessions is being rolled out gradually but documentation isn't publicly available yet as far as I know.

The Retool docs have an interesting page about storing temporary data:
Store temporary data with variables and localStorage

If localStorage isn't an option for you, maybe you could look at storing values in the URL query strings?

Hope this helps!