Option 2.2.11. (Script) Add Arguments

(Script action only)

A script node can include arguments that apply to the script when the node is selected during runtime.

  1. Expand a node that has a script action.

  2. Select Arguments in the node's tree.

  3. Do one of the following.

Right-click Arguments; select Add Item on the Popup menu.

Click Edit>Add Item on the Navigation Configuration Editor menu bar.

Right-click the Navigation Configuration Editor right-pane; select Add Item on the Popup menu.

An Add Item dialog box opens.

  1. Enter the following.

Name

Name to identify the argument.

Value

Argument value that is valid for the node's selected script.

Type

The argument type is always an expression.

  1. Click OK.

The argument is listed in the Navigation Configuration window right pane.

  1. Enter as many arguments as necessary for the selected script.

Result: During runtime, CimView will evaluate the arguments for the script. If they are valid they will be included. If they are not valid a message box will display to report the error.

More information

Step 2.2. Define the extended menu nodes.