cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cheezy
Helper II
Helper II

Collection List doesn't save after closing power app

this is probably a basic question but..

i have a basic collection list defined as follows:

 

Collect(AdminList,{Value: AdminEmail.Text});

 

i can add records fine , display in a gallery and in collections list as a value

 

Capture1.PNG

Capture2.PNG

when i save,  then close the app and reopen the AdminList collection contains no records.

I dont have any explicit actions that i am aware off to clear the collection.

 

thanks

 

1 ACCEPTED SOLUTION

Accepted Solutions
Nogueira1306
Community Champion
Community Champion

Hey! Collections are used ONLY in cache. In a user session. If you want to keep that collectino, you have to use the app on a cellphone and have "SaveData" and "LoadData" functions.

Please, check this:
https://docs.microsoft.com/pt-pt/powerapps/maker/canvas-apps/functions/function-savedata-loaddata 

 

And check the aprt of collections here:

 

https://docs.microsoft.com/pt-pt/powerapps/maker/canvas-apps/working-with-data-sources#collections

View solution in original post

2 REPLIES 2
Nogueira1306
Community Champion
Community Champion

Hey! Collections are used ONLY in cache. In a user session. If you want to keep that collectino, you have to use the app on a cellphone and have "SaveData" and "LoadData" functions.

Please, check this:
https://docs.microsoft.com/pt-pt/powerapps/maker/canvas-apps/functions/function-savedata-loaddata 

 

And check the aprt of collections here:

 

https://docs.microsoft.com/pt-pt/powerapps/maker/canvas-apps/working-with-data-sources#collections

View solution in original post

thanks for that

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Microsoft Ignite 768x460.png

Find your focus

Explore the latest tools,training sessions,technical expertise, networking and more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,403)