# Log if a user "Favorited" an item?

**URL:** <https://community.glideapps.com/t/log-if-a-user-favorited-an-item/67461>\
**Category:** Ask for Help\
**Created:** [November 2, 2023, 4:27am UTC](https://community.glideapps.com/t/log-if-a-user-favorited-an-item/67461 "2023-11-02T04:27:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mosh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mosh/32/65954_2.png) [@mosh](https://community.glideapps.com/u/mosh)\
**Post date:** [November 2, 2023, 4:27am UTC](https://community.glideapps.com/t/log-if-a-user-favorited-an-item/67461/1 "2023-11-02T04:27:57Z")

</div>

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,

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [November 2, 2023, 4:46am UTC](https://community.glideapps.com/t/log-if-a-user-favorited-an-item/67461/2 "2023-11-02T04:46:57Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![mosh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mosh/32/65954_2.png) [@mosh](https://community.glideapps.com/u/mosh)\
**Post date:** [November 2, 2023, 5:56am UTC](https://community.glideapps.com/t/log-if-a-user-favorited-an-item/67461/3 "2023-11-02T05:56:27Z")

</div>

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.”

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [November 2, 2023, 5:57am UTC](https://community.glideapps.com/t/log-if-a-user-favorited-an-item/67461/4 "2023-11-02T05:57:53Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![mosh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mosh/32/65954_2.png) [@mosh](https://community.glideapps.com/u/mosh)\
**Post date:** [November 2, 2023, 5:40pm UTC](https://community.glideapps.com/t/log-if-a-user-favorited-an-item/67461/5 "2023-11-02T17:40:26Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [November 9, 2023, 5:41pm UTC](https://community.glideapps.com/t/log-if-a-user-favorited-an-item/67461/6 "2023-11-09T17:41:16Z")

</div>

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