Adding a Script Action Using the Outline View
You can add a script action from the Outline view.
- Procedure
- In the context-menu of Shared Actions, select New Script Action.
- Type or select data as explained in the table Specify Details to Define a New Script Action.
- Click
Finish.
The new script action button is displayed in the Outline view indicating a shared action.
| Field | Description |
|---|---|
| Name | Type the name for the new action.
The name is only visible with the Solutions Design capability. It must be unique among all actions in the form and comprised only of alphanumeric characters and the underscore “_”. The name might be referenced from the JavaScript of other actions when using the
|
| Label | Type a descriptive label for the new action.
The Label is used in other parts of the Form Designer to identify the action. It is not used at runtime. |
| Script | In the
Script window, type the script for the new action.
See Scripting for a discussion of the variables available in this script. |