I have an HTML button in a table row via slot that calls a namedAction. The namedAction is a runUtilityHook. I need the row.id to be passed to the utilityhook. Should this be done in the HTML or the namedAction? and How? I have the button calling the namedAction just fine, just need the query component.
When calling the namedAction on the HTML button, you’ll need to pass the row context through the function like so:
namedAction('myNamedAction', {row: row})
The object passed as the 2nd parameter there will be merged into the options
key of every action within your namedAction. By simply adding that bit of code to your button, you should see it come through in FileMaker to parse further