Cheat Sheets/Power Apps/LoadData
Power Fx function

LoadDataPower Fx function reference

Reload a saved collection.

Syntax

powerfx
LoadData( Collection, "FileName" [, IgnoreNonexistentFile ] )

Examples

powerfx
LoadData(colCart, "cart", true)
Restored offline
powerfx
LoadData(colCart, "cartData", true)
powerfx
If(!LoadData(colDrafts, "draftTasks", true), ClearCollect(colDrafts, Blank()))

Common mistakes & gotchas

Related Power Fx functions

From Collections & local storage

Used in these tutorials

← Back to the Power Apps (Power Fx) cheat sheet