Skip to main content

Notifications

Power Apps - Building Power Apps
Unanswered

Option to save current view for a user

(0) ShareShare
ReportReport
Posted on by

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

Categories:
  • WarrenBelz Profile Picture
    WarrenBelz 145,508 on at
    Re: Option to save current view for a user

    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.

  • Re: Option to save current view for a user

    I thought that function only worked on Tablet/Phone? We are using PCs for this. 

  • eka24 Profile Picture
    eka24 20,921 on at
    Re: Option to save current view for a user

    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.

  • Re: Option to save current view for a user

    Hello!

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

  • GarethPrisk Profile Picture
    GarethPrisk 2,826 on at
    Re: Option to save current view for a user

    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).

  • mdevaney Profile Picture
    mdevaney 29,987 on at
    Re: Option to save current view for a user

    @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."

  • Re: Option to save current view for a user

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

  • mdevaney Profile Picture
    mdevaney 29,987 on at
    Re: Option to save current view for a user

    @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."

  • Re: Option to save current view for a user

    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?

  • eka24 Profile Picture
    eka24 20,921 on at
    Re: Option to save current view for a 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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,508

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,839

Leaderboard