Working with local data
One of the key abilities that we need to build into our app to allow us to go offline is to store data locally and then retrieve it again. This is achieved by using the functions of SaveData
and LoadData
.
It is key to understand what it means to you as a developer, and to your users, where your data is being stored when it is taken offline; therefore, we will now focus on the following:
- Saving data locally
- Loading data from the locally stored data file
Let's see how the first part goes.
Saving data locally
Before we can load data, we, first of all, need to save it by using the SaveData
function. This will securely save our collection of data to an area that is local to the device being used. We are obviously in a world where data security is paramount. In the previous chapter, we discussed securing parts of our app so that users can't access data that they shouldn't and the same concept applies to our offline data.
Power Apps has excelled in this...