Another global variables implementation

Hi all,

I would like to share my (simple) implementation of how to use global variables in your anvil project.

It requires the included server-script and a data table with columns Name (as text) and Value (as simple object).
Since the value column is simple object you can store any data which is supported by the data type simple object.

My biggest concern was efficiency, meaning we only get a single row when getting a variable value (we dont parse/search whole table).

Feel free to try it out :slight_smile: And ofc this will work programmatically.

Link to live project:

Link to clone:

1 Like