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.
Check out new user group experience and if you are a leader please create your group
Did you miss the call?? Check out the Power Apps Community Call here!
See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.
User | Count |
---|---|
256 | |
239 | |
83 | |
36 | |
27 |
User | Count |
---|---|
314 | |
269 | |
121 | |
69 | |
45 |