Publishing a Parameter

There may be cases where you want to be able to enter or verify a parameter value every time you run a workspace. You can do this by publishing a parameter. These parameters can include:

By publishing parameters, you can be prompted for any information that might change when the workspace is run, making the workspace even more portable. You can also set many parameters to the value of one parameter. In this case, when you want to change the value of all parameters, you only have to change it once, in the main parameter.

All published parameters are also shown in the log file as they would appear on the command line. This allows for simpler migration of workspaces to a command-based environment.

Publish Parameter

  1. Click on a parameter in the navigator pane, then right-click and choose Publish Parameter from the command menu.

  1. The Edit Published Parameter dialog appears:

You can add, remove or modify file extensions. Click OK to accept the changes and dismiss the dialog. This will return you to the Edit Published Parameters dialog.

  1. Click the OK button in the Published Parameter dialog, and the parameter will be published. The Published Parameter's node color will also change in the main area of the navigator pane, so you can easily see which parameters have been published.

  1. The parameter is also added to the Published Parameters node.

You can reorder the parameters by dragging them up or down.

NOTE: Source and Destination datasets are published by default.

Edit Definition

  1. Select the parameter under the Published Parameters node, then right click and select Edit Definition.

  1. This will launch the Edit Published Parameter dialog. From this dialog, you can change the parameter's Value, File Filter, Name or Prompt.

  1. Edit the desired fields and click the OK button.

Edit Value

You can also double-click on any of the nodes under Published Parameters to launch an abbreviated Edit Published Parameters dialog, which allows you to change only the value of the parameter.

Delete

  1. Select the parameter under the Published Parameters node, then right click and select Delete.  

Apply to

  1. Select the parameter under the Published Parameters node, then right click and select Apply to.

  2. In the Apply Published Parameter dialog, click the checkbox next to other workspace parameters.

Note: If you choose to filter the list by keyword, the list will dynamically update as you enter the keyword – clicking OK will close the dialog.

  1. Click OK to copy the published parameter to the additional selected parameters.

Unpublishing a parameter

There are two easy ways to "unpublish" a parameter: