Hi everyone
Is there a quick way to include a collection (including data) in the design by default, so that the first time the app is launched on a device it has this data without making any data source or API calls?
Thank you everyone
Solved! Go to Solution.
Hi @DavesTechTips,
You always need to use the Collect() function to create a collection within your app.
Collect( DataSource, Item, ... )
You could set the OnVisible property of the first screen of your app with above formula so that it will create a collection as long as the first screen load.
For your reference:
https://powerapps.microsoft.com/en-us/tutorials/create-update-collection/
https://powerapps.microsoft.com/en-us/tutorials/function-clear-collect-clearcollect/
Regards,
Mona
Hi @DavesTechTips,
You always need to use the Collect() function to create a collection within your app.
Collect( DataSource, Item, ... )
You could set the OnVisible property of the first screen of your app with above formula so that it will create a collection as long as the first screen load.
For your reference:
https://powerapps.microsoft.com/en-us/tutorials/create-update-collection/
https://powerapps.microsoft.com/en-us/tutorials/function-clear-collect-clearcollect/
Regards,
Mona
Thank you.
Now with the onstart function on the first screen of the app, this makes it even more viable.
User | Count |
---|---|
183 | |
110 | |
88 | |
44 | |
42 |
User | Count |
---|---|
229 | |
108 | |
106 | |
68 | |
68 |