cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
288088
Post Partisan
Post Partisan

Option to save current view for a user

Hello!

 

Is there anyway for a user who is using my app to save their current view until next time that person opens the app? I got several filters and so on, so when they have filtered so they are satisfied they want to keep those settings until next time they use the app.

 

Thanks

12 REPLIES 12
mdevaney
Super User
Super User

@288088 
This feature is not available 'out-of-the-box' but you could build it.  You would probably want to save this information to a datasource rather SaveData/LoadData because that only works when the user is on a mobile device.

 

Please provide a screenshot so I can see what your app looks like.

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

Carsten_Growth
Power Apps
Power Apps

You could save where they left in a personal settings that would load each time they re-open the app and bring them to where they left. Check out https://docs.microsoft.com/de-de/powerapps/maker/canvas-apps/functions/function-savedata-loaddata

eka24
Super User
Super User

You will have to make use of SaveData and LoadData function, more details on:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-savedata-loaddata

 

Also for offline capabilities:

https://youtu.be/NwbqdA9j8Ek?t=2

 

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Alright.. I'm kinda new to this. I've read a bit and tried the formula in the example but didnt work. I dont know where the storage should be?

 

SaveDataCollectionName )

 

where should I create  the folder "Collection" and so on?

@288088 
I'll let the others handle this one since there's so many users already trying to help.  But keep in mind... SaveData/LoadData only works on a Tablet/Phone.  It does not work on a PC/Laptop.

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

oh.. okey. We are using PC/Laptop so would be nice to know if there is a solution for that

@288088 
Yes, there is likely a solution.  Please take a screenshot of the app and indicate which filters need to be saved.  Then we can start from there.

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

What is your primary data source? SharePoint, CDS, other?

 

Either case, you could create a List/Entity which stores this. Then as part of the app loading, you can retrieve the User's record (if it exists), and then update (if it exists), or create (if it does not). Then it's up to you what you want to save about the 'saved view', which you can then use in the app session (mobile or web).

Hello!

I'm using sharepoint. How do I accomplish what you just explained?

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn 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.

Top Solution Authors
Top Kudoed Authors
Users online (1,005)