How to run Form Action from Lightning Component
To run form action from lightning component one has to fire FLX_KB:ApplicationEvent event and pass following JSON object as 'data' parameter:
Parameter value should be replaced with value that needs to be passed from Lightning component or any value from the form itself. To pass form values as action parameters use form objects, such as {$Form}, {$Variables}, form context object ect.
Function in below example will run "Check options" action on the form.
See form action setup:
and picklist setup:
Execution of action triggered from the Lightning Component will check January and March options of picklist:
Last updated