$fn.callAction()
This property was added in v4.0.0.
This function allows you to call a server-side action from a UI Script. [Async]
Use this when you want to execute Action (server-side processing) from a UI Script.
Arguments
None
Return Value
None
Sample
if (!$ui.textfield.value) { // Show a message if there is no input value. $ui.textfield.error = true; $ui.textfield.helperText = "Please enter a value.";} else { // If there is an input value, execute the server-side action. await $fn.callAction();}