Configure field mapping

Field mapping is the process of matching attribute fields on a source feature layer to attribute fields on a target feature layer for the purpose of transferring attribute data between features. Field mapping is available on the Editor Settings dialog box on the Field Mapping side tab.

Specific editing tools use field mapping settings to transfer attribute values. These tools include Transfer Attributes Transfer Attributes, Copy Parallel Copy Parallel, and Mirror Mirror, and the Copy Copy, Cut Cut, and Paste Special Paste commands in the Clipboard group.

These tools are also noted in the Modify Features tool reference topic, which specifies which tools reference these settings.

To configure field mapping, complete the following steps:

  1. On the ribbon Edit tab, click Editor Settings Editor Settings in the Manage Edits group.

    Alternatively, if the active editing tool references field mapping, click the Editing Options button Menu and click Field Mapping Field Mapping.

    The Editor Settings dialog box appears.

  2. Click the Field Mapping side tab.
  3. Click the Target drop-down arrow and choose the feature layer for the features to which attribute values are to be transferred.

    Attribute fields defined for the layer appear in the Target column.

  4. Click the Source drop-down arrow and choose the feature layer for the features from which attribute values are to be copied.

    The default field mapping settings automatically match field names and data types between the Target and Source layer.

    To change or add a field, for example, to add a field with a different name or data type, click the field and click the drop-down arrow. Allowable fields appear in the drop-down selector.

    Source column

  5. On the toolbar, click the following commands to reset, clear, or map matching fields.

    Reset Undo

    Restore field settings to the last saved configuration.

    Auto Match Switch Selection

    Map all fields with matching field names and data types. This is the default setting.

    Clear Clear Results

    Remove all field settings.

  6. Click the Expression tab to view or customize the ArcGIS Arcade expression created by the field settings.

    If fields on the Fields tab change, the current expression is overwritten.

    Note:

    Multiple lines separated by a comma are allowed in the same window. The following example returns field values in the source feature fields Elevation and Rotation to the target fields with the same name.

    return {
      "Elevation" : $sourceFeature['Elevation'],
      "Rotation" : $sourceFeature['Rotation']
    }

    To learn more, see ArcGIS Arcade.

  7. On the toolbar below the expression window, click the following commands to reset, verify, or import and export label expression (LXP) files.

    Reset Reset

    Restore the expression to the last saved settings.

    Verify Verify

    Validate the expression. Line numbers and reasons for syntax errors are shown in the error message.

    Import Show in folder

    Import a label expression (LXP) file.

    Export Export

    Export the expression to a label expression (LXP) file.

  8. Click OK.

The dialog box closes.

Related topics


In this topic