Data Variables vs. Page Variables

From the official document and explanation from one of AppGyver team members, I’ve learned that Data Variables are nothing but Page Variables with the attached, default logic that periodically get data from Data Resource.

Can I just think of it as read-only variables that have the most up-to-date values from the server? I think this way because the value of Data Variables would be replaced every 5 seconds even if I assign a value to them.

Am I understanding them correctly?

Yes, if you keep the 5 second loop, it will be replaced every 5 seconds. On pages where I want to edit the data variable, I tend to remove that loop to only load until the data is loaded, and not refresh the data afterwards.

1 Like