Announcements
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
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.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 296 Most Valuable Professional
11manish 224
Valantis 181