You are here: Working with FME Desktop > Working with User Parameters > Creating a User Parameter Based on a Workspace Parameter

Creating a User Parameter Based on a Workspace Parameter

If you right-click on the Number to Create parameter shown in this example, you can either edit the existing value, create a parameter, or link to an already existing parameter.

Click Create User Parameter to display the Add/Edit User Parameter dialog. The Type field will already be chosen based on the workspace parameter. In this case, the Type is Integer.

Click OK to add the User Parameter to the Navigator:

Then, when you click Prompt and Run Translation to run the workspace, a dialog will prompt you for any changes to the Number to Create parameter:

When you click OK, the translation continues.

Creating the Same Parameter with Multiple Choices

Repeat the first step above:

Instead of accepting the default Type, select Choice or Text, and then click the browse button in the Configuration field.

When Edit Choice List appears, enter the choices you want to see, and tab to the next row. Click OK to set the choices.

The choices are now shown in the Configuration field. In the Default Value field, you can enter the default you want to use or leave the field blank.

Click OK to add the User Parameter to the Navigator. Then, when you click Prompt and Run Translation to run the workspace, your choices will be shown in the Number to Create parameter: