Good evening, everyone.
I am putting together an app that displays a list of content in a vertical gallery. I would like for each user to be able to mark their own favorite or bookmarked content within the gallery and be able to access it the next time they load it up.
I would like to use the bookmark icon to make things easy. My thought was to add a people column to the SharePoint list that is the data source for the gallery. When someone clicks on the bookmarker and it's not currently highlighted, it would add that person (the current user) to the people column for that entry. Similarly, the gallery would read who is in the people column and if it contains the current user, it would show as already bookmarked. Hopefully, that makes sense.
Would this be the best way to implement a favorites option and if so could you provide some assistance with the patch code to log the current user into the SharePoint people column? Tried to find some tutorials but they don't match up to what I am looking for.
If there any recommended alternative methods, I would be open to those as well.
Always appreciate all the help everyone here provides!