Adding a Script Action Using the Outline View

You can add a script action from the Outline view.

Procedure

  1. In the context-menu of Shared Actions, select New Script Action.
  2. Type or select data as explained in the table Specify Details to Define a New Script Action.

Specify Details to Define a New Script 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 may be referenced from the JavaScript of other actions when using the invokeAction method.

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.

  1. Click Finish.

    The new script action button is displayed in the Outline view indicating a shared action.