Creating a Listener Action Script
Create a new script and select Listener Action Script as the type.Anatomy of a Listener Action
Adding your Listener Action
1
Select a Listener
2
Click + and select Scripted Action
3
From the Run dropdown, select your script
Script Inputs
Inputs let you add parameters to a listener action without changing script logic—making the same script reusable across different listeners. For more information on adding inputs to your scripts, see Script Inputs.Inputs can control scripts, but scripts can’t change the value of inputs.If you need to control a view model property from your script, access the Main View model through context or View Model Inputs.