Hi community, I’ve searched all the articles on ‘favourites’ on this community but I still have a question/case that I can’t seem to figure out 
I have a recipe app and I would like that users can favourite certain recipes, and find them back in their recipe library. How would I do this?
I found some info on using the ‘switch’ component for this. But where and how do I save the data and make it user-specific?
FYI: I am not a very advanced app-builder, but I do understand the basic logic.
Thanks a million for your help!!
Roos
1 Like
Add a User Specific boolean column to your Recipes table, and target the switch component at this column. You should display the column somewhere on the Recipes details screen.
Just be aware that taking this (user specific) approach means that each user will only be able to see their own favourites. That is, favourites cannot be shared.
2 Likes
Hi Darren! Thanks for your answer. I managed to add this to my data sheet, thank you. The only thing I still need need to do is to show these favourites in my app so people can access them. How would I do this?
Preferably I have them all together as one category on the same tab as the other recipe categories (lunch, dinner etc). The logic is now:
Main recipe tab = linked to a recipe category sheet
When you click on a category you see the list of recipes from that category = a list item from a relationship column
When you click on a recipe a details screen open with details from the sheet where I put in all the recipes
Where and how would I show the favourites?
Thanks!
Kind regards
I guess that’s up to you.
You could show them on the main Recipes screen (that lists all Recipes), or the Categories screen, or both.
Question: will users of your App always be signed in?
1 Like
Thanks for your quick answer. Yes, users will always be signed in. I think I managed to show them. Let me test it to see if it really works.