Hi Retool Team,
I would like to know whether I can return the action button in triggeredByID, please.
- I have a table called table1
- I have two actions in table1, let's call them Button1 and Button2
- Each action button will trigger two very similar JS queries. So instead of building one JS query for Button1 and another for Button2, I would like to have one JS query and trace whether the query is triggered by Button1 or Button2 via the triggeredById property.
- However, it seems triggeredById returns only table1 instead of the id of the action button.
Appreciate for a workaround. Thanks!