You are here: Other Workbench Tasks > Working with User Parameters > Creating and Modifying User Parameters

Creating and Modifying User Parameters

There are different ways to create user parameters:

  • Add a new user parameter.
  • Create a user parameter from an existing transformer or workspace parameter.

The method you choose determines the fields that show in the Add/Edit Parameter dialog. The configurable fields in the dialog are described following the table.

User Parameter Type Description Add/Edit Parameter Dialog
To add a new user parameter that has no existing properties

Right-click the User Parameters icon in the Navigator, and click Add Parameter.

This is a new parameter, so you will have to fill in all required fields.

Click OK to add the parameter to the workspace.

To create a user parameter from an existing workspace parameter

Right-click a Workspace Parameter in the Navigator, and click Create User Parameter.

Most fields are already filled in based on the parameter's existing information. You can edit the fields; however, changing the Type is not recommended.

Click OK to add the parameter to the workspace.

To create a user parameter from an existing transformer parameter (Navigator)

Right-click a Transformer parameter in the Navigator, and click Create User Parameter.

Most fields are already filled in based on the parameter's existing information. You can edit the fields; however, changing the Type is not recommended.

Click OK to add the parameter to the transformer.

Detailed example

To create a user parameter from an existing transformer parameter (Transformer Parameters dialog)

Click the menu beside a parameter in the parameters dialog of a transformer and click User Parameter > Create User Parameter.

You can edit all the fields.

Click OK to add the parameter to the transformer.

Add/Edit Parameter Dialog Fields

All user parameters will be listed in the User Parameters section of the Navigator.

Usage Notes

  • After you create a Published Parameter, run the workspace by clicking Prompt and Run Translation . You will get a good idea how the parameters will affect the workspace just by viewing the prompt dialogs and parameter choices. (Note that this will not work for Private Parameters, since they are not prompted.)
  • You can reorder the parameters in the Navigator by dragging them up or down, or by using the Move Up or Move Down menu item.
  • Reader and Writer dataset parameters are published by default. If, for example, a file is missing, you will see a warning.

Modifying User Parameters