Log if a user "Favorited" an item?

Hello, I am looking for a way to log the data for each user when they “Favorite” an event. Is there a way to do this? Or do you have to create an action to log the data?

Ideally, I would have a db with:

user_id, event_id, is_favorited

Thanks,

Totally doable, but yes you need an action.
How do they currently favourite an item?
Presumably with an action?
Just extend that action so that it adds a row to your log table.

I am using the “Favorite” component. I am not seeing a way to use the favorite button as an action. I’m using the favorite component on the details page. I can see the actions for if I click on a “swipe” function, but I am using “calendar.”

ah, I see - so you must be working with an older Classic App.

In that case, you would have to replace the native favourite button with something else - something that supports an action.

2 Likes

Oh interesting, I didn’t realize I was using the classic app. I will try the newer version. thanks!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.