Adding variables and constants

  1. Double-click a mapping to open it in the Mapper Editor.
  2. Click the Variables and Constants tab in the Mapping Console view.
  3. Right-click on a blank space on the Variables and Constants tab and select one of these options:
    • Select Create Variable to create a variable with a default name NewVariable1.

      A V-icon indicates a variable. Assigning values to Variable is optional.

    • Select Create Constant to create a constant with a default name NewConstant1.

      A C-icon indicates a constant. Assigning values to Constant is required.

    Note: A unique index is added to the default variable or constant name.
  4. Specify Value Type, Value and Description.
  5. Drag a variable or a constant from the Variables and Constants tab to a parameter element in the Mapping Editor. Now, the variable or constant has been assigned to the parameter. You can also drag a variable or constant from the Variables and Constants tab directly to a document.
  6. Save the mapping.