Using parameters

Use the Configuration Editor to specify parameters.

Before you begin

Parameters allow you to reuse a command set because each time the command set is applied, you can specify what you want the value of a parameterized value to be. Parameters can be used for both the value you are trying to match and the value you are using to replace.

The user applying the command set is prompted to provide values for any parameterized fields.

Note: Parameters can be applied only to text fields and editable combo boxes. You can also enter a default value for any parameterized field.

About this task

To specify parameters, follow these steps.

Procedure

  1. Starting in “Replace” mode, click the command in the configuration catalog.

    The command is shown in the right pane.

  2. Click the command check box in the right pane.
  3. Place your cursor in the field you are trying to add, delete, or change.
  4. Enter a default value if desired (optional), then click the Parameter icon to mark the command as being a parameter.

    The Parameter Name dialog box displays.

  5. Type a name for this parameter. A name is particularly useful if you will be using the command set from the API.

    The parameter icon is added to the command in the configuration catalog on the left side of the Configuration Editor.

  6. If you are modifying a text field, and you wish to use a parameter for the value being matched, click the Match/Replace icon to switch to old values (the value you want to match).
  7. Enter a default value if desired (optional), then click the Parameter icon to mark the command as being a parameter.

What to do next

When this command set is applied, the user will be prompted to provide a value for the parameterized field or fields.