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
Resident Rockstar
Resident Rockstar

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
Resident Rockstar
Resident Rockstar

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
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

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.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,315)