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
Hi @Anonymous ,
I might as well join the party.
You are correct - LoadData/SaveData only works on mobile devices.
Not much you can do (easily) on a PC without (for example) writing the current ID to a reference list with the user's details at some convenient trigger and then looking for it at App OnStart to go to the record. It is however not as simple to do as this if you want to also use the app normally.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
I thought that function only worked on Tablet/Phone? We are using PCs for this.
Did you watch the video i posted, it shows you how to go about it.
------------
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.
Hello!
I'm using sharepoint. How do I accomplish what you just explained?
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).
@Anonymous
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."
oh.. okey. We are using PC/Laptop so would be nice to know if there is a solution for that
@Anonymous
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."
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?
SaveData( Collection; Name )
where should I create the folder "Collection" and so on?
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.