I created a collection to better filter some production data, I saved and published the app but when using it the collection is deleted, could someone tell me why this happens and how to fix it?
Collections exist only in memory and must be reconstituted when the app is opened. You can put the Collect function in the OnStart of the app like Collect(colTable,Table1)
Collections exist only in memory and must be reconstituted when the app is opened. You can put the Collect function in the OnStart of the app like Collect(colTable,Table1) so it will be automatically reconstituted when the app is opened.
Collections are temporary, they are not permanent storage.
they will exist differently on every phone that runs an instance of you app and have to be updated "on run time"
what you need is a form of permanent storage. you can connect your powerapps to a data source and it will access that storage when the app loads up? or you can create a table and manually insert the data... but i suggest connecting it to a data source.
Here is some information on collections in powerapps (theres is also a video in the link):
Hi @Lorakz ,
Collections are basically like variables, so the data in there is not stored permanently. You'll have to use a data source such as a SharePoint list, Dataverse entity or Excel table.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Join us on June 28 for our monthly User Group leader call!
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.