Set your action button to open a custom modal by defining the payload parameters.
Before you begin
Role required: admin
Procedure
-
In the navigation filter, navigate to .
-
Select the form action where you want to add the custom modal.
-
Open the Specify client action field by selecting the record preview icon (
) and Open Record.
-
Mark the location of your page by entering the page's action name as the route key of the Payload field.
-
Pass variables from the current context by entering the table and sysID values in the fields key.
{
"route": "action-name",
"fields": {
"table": "{{table}}",
"sysId": "{{sysId}}"
}
}
-
Select Update.
-
Open a record in your configurable workspace.
-
Test your button by selecting it.
Your button opens the custom modal.