Mapping an Attribute to a Parameter

You can map an attribute to a parameter.

  1. From the component editor, click the appropriate tab.

  2. Right-click the attribute value that you want to map, and select one of the following:

    • If you want to apply the mapping to only the selected parameter, select Map <Attribute_Name> to a parameter for selected.

    • If you want to apply the mapping to all the parameters, select Map <Attribute_Name> to a parameter for all.

    Once mapped, the icon appears next to the attribute’s value. You can click this icon to view or change the parameter name.

    Important: If you select an entire array (as opposed to individual elements), a corresponding array is created in the Mapped Attributes and Options parameter with elements that map to the corresponding elements of the array during execution. If you selected a dynamic array, make sure you construct the model in such a way that the mapped attribute array is resized in sync with the array; otherwise, Isight issues warning messages to your job log.

    The parameters you created will appear in the Design Gateway Parameters tab as members of a special aggregate parameter called Mapped Attributes and Options.

  3. To remove a mapping, right-click the appropriate parameter attribute and select Remove mapping of <Attribute_Name> to a parameter for selected or Remove mapping of <Attribute_Name> to a parameter for all, depending on how you mapped the attribute.

  4. Click OK to save your changes and to close the component editor.

  5. To confirm that the correct mappings were created, do the following:

    1. From the Design Gateway, click the Parameters tab.
    2. Locate the new aggregate parameter called Mapped Attributed and Options, and click the icon to expand the parameter.

      The Design Gateway displays the mappings that you created under the aggregate parameter.

  6. If desired, map any output parameter from another component to the process component’s parameter.

    At run time, the value of each mapped attribute is set from the linked parameter. If you want to control the value of a mapped attribute based on the output of another component, you can create a mapping from any output parameter of that component to the parameter in the design driver component, which is linked to the attribute value.