How to increment reaction in table by clicking a reaction button in a doc

I’m able to reflect the count of a reaction button from a table into a button on a doc (great). But I also want users to be able to click the button to save their “like” reaction back into the table. I’ve tried a bunch of different action queries in the button to no avail. Any ideas?

I figured it out. I wasn’t sure if I should be incrementing the count on the button or just adding a user (and having it auto-increment). After reading that Reactions were simply arrays (lists) of people, I was able to get it working with a listcombine function:

listcombine(
[Disco shuffle].Item.First().Heart.list(),User())

1 Like

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