SQL Query on button click

Confluence User - 20 Oct, 2024

Hi. I have a rich text menu in my userview UI. I have added a button in that menu, I need to execute sql query to update record on that button click. Is there any way to solve this issue. Kindly elaborate this. Thanks.

userviews

1


21 Oct, 2024
confluenceUser
confluenceUser

You could use the on-click option in the button configuration to call an internal API. you can pass the record ID, and the API updates that specific record for you. But if the record is already part of your datalist (which it sounds like it is), you might want to go with the Database SQL Query action button in the datalist instead. It's usually faster and all record can be updated that's part of the list.

Hope this helps.

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print