Hi All,
Quick Question. I understand the in PowerApps we can use the following variable types:
- Global Variable (Set()) that can be used anywhere in the app.
- Context Variable(UpdateContext()) Local to the Screen
- Collection (Collect()) Table Records used globally.
My Main Question is what is the benefits of using a Context Variable and passing it to another screen using Navigate() over using a global variable in the first place? Is there a performance gain?
At the moment I seem to using Global for all except for a temporary or counter value. I'm not sure if there is even a reason not to use Global for everything. Is there any notion of a best practice for variables?
Thanks,
Nicky