Updated: May 21
In this video you will learn how and when to use contextual and global variables within your Power Apps.
In this video you will learn about:
Link to the video on YouTube: Intro to Power Apps Variables
Link to the video and the app download for Curated Library subscribers:
0:51 Create the solution in Power Apps and demo of Excel-like functionality
Shane starts by creating a blank tablet layout app in Power Apps. An Excel spreadsheet is recreated in the app by inserting two text inputs and two labels. variables not used
5:15 Demo of a Contextual variable
A contextual variable stores a value and makes it available on one screen. A button is inserted and the Update context function is added to the button.
9:49 Demo of pushing a Contextual variable to another screen
A button is inserted and the Navigate function is added to the button.
13:44 Demo of a Global variable
A global variable only needs to be created once and then can be used throughout an entire app. A button is inserted and the Set function is added to the button.