web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Store per User Data fo...
Power Apps
Unanswered

Store per User Data for application

(0) ShareShare
ReportReport
Posted on by 61

Hi there!

 

I want to build an app, which contains articles written by different users. Those articles are stored in a SharePoint list. 

Now I want to include a function for marking single articles as favorites and make a screen, that contains all the articles the user set as favorites to access them quickly.

 

Option 1:

Saving the data locally on the device, which could be a kind of workaround but is not really what I'm looking for.

 

Option 2:

Is there some kind of way to user e.g. the private ondrive of each user for saving the metadata (small table with Article ID) that contains the data based on the logged in user.

 

Would there be a way to achieve this or can you recommend an other way? (preferable cross device and not locally) Which is suitable for my favorites scenario or app preferences for each user

 

Cheers!

Categories:
I have the same question (0)
  • Verified answer
    adamtj Profile Picture
    79 on at

    Hi @JulianM ,

    My approach would be something like this:

    Create a sharepoint list called eg "UserFavorites" with the fields "ArticleID" and "User".

    Create a button or icon that the user can select a article as favorite, OnSelect you will patch a record to the "UserFavorites" list.

    Patch(
     UserFavorites;
     Defaults(UserFavorites);
     {
     ArticleID: ThisItem.ID;
     User: User().email
     }
    )

     

    On the "My favorites" screen use a gallery and set items to the UserFavorite list.

    Filter(UserFavorites; User = User().email)


    And inside the gallery item you can do a lookup based on the article ID

    LookUp('MyArticleDatasource'; ID = ThisItem.ArticleID).'desired field'

     

    You probaly want some logic to check if the article alredy is in the users favorite list, but something like this perhaps?

  • JulianM Profile Picture
    61 on at

    Hi @adamtj 

    thanks for your fast response!

     

    This would definitely be a way to go and I also thought of it before. 

    OFC this would be a suitable solution for my approach but do you know if there is any kind of way to "generate" a specific data container of any kind for every single user, so the data is stored separately for every user? 

     

    But I definitely think this would be a way to go. Do you think it affects performance if I store all the favorites in one table

  • adamtj Profile Picture
    79 on at

    Hi!

    To my knowledge the are not any specific place to store user settings/data.

    Regarding performance, no cant se any performance issues with that. Unless your favorite list will be +30 milj rows 🙂

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard