How to create a favourite section

My question has to do with how can a user favourite a product and its only favourite for that user? Should I use states, database ?

can you show me an example. Not really getting what you saying


1 Like

I’m on mobile so can’t really look at your app, but here are some general options for what I think you are trying to accomplish.

You will eventually need to get the data into the database.

I can think of at least two options that will depend on how you want to display the data.

Option #1) Create a new field on the thing user as type product that is a list. When the user clicks on whatever element to add to their favorites have a workflow that makes a change to the current user that adds that product to the user’s list that you just created. Now you can display the list as current users>name of list.

Option #2) Add a field on product that is type user that is a list. When the user click on an element make a change to the product and add the current user to the list of users on the product. Now you can display the information by doing a search for the product with a constraint for current user.

1 Like

Yes, you’re right @Ralph. Sorry about that. I thought the solution you posted was the original poster sharing their app. My bad for writing while out and about with the family.

Thanks for both responses guys. Really helpful and will make a difference on my app. Lately when I finish it I will be needing beta testers and I will be asking you and everyone else to give me some feedback

I updated the app and made a video explaining

1 Like

Has someone got a video of how to do this? I have created a data type for favourites and when a loveheart is clicked the videos are showing up in the data set and then I have a favourites page that is showing the favourites data set. However I do not know how to link particular favourites to each user? How do I make each user have their own favourites?

Please help!

In the repeating group you are pulling the favourites, in the data source section you put either Current users Favourites or you put Do a search for “Favourites” where data field Users is Current user, depending on how you structured your data.
Hope it helps

is it possible for you to provide me with a video of how to do this? I am still having trouble! thank you so much!

hi, I had made one some time ago. Here you go

1 Like

Exactly what I was looking for. Thanks for the video!