Primal Lobo
What is save data and load data

Explain difference between save data and load data in PowerApps

By Primal Lobo in Power Apps on Dec 28 2021
  • aashna choudhary
    Jan, 2023 15

    Syntax:
    -SaveData( Collection, CollectionName )
    -LoadData( Collection, CollectionName [, IgnoreNonexistentFile ]), where IgnoreNonexistentFile is an optional parameter. It accepts bool value which tells how to behave if provided collection is not found.

    SaveData function used to store the provided collection in device’s cache, so that if we close the app and reopen it, the data still persists, whereas, LoadData function is used to load that stored data from device’s cache into the app associated memory pool.

    for example:

    1. Creating a collection: Collect( ItemsCollection, { Item: TextInput1.Text, Quatity: txtQuatity.Text } )

    2. Saving the collection: SaveData( ItemsCollection, “LocalSavedItems” )

    3. loading the collection: LoadData( ItemsCollection, “LocalSavedItems” )

    We can configure these function on OnSelect action of button control.

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS