ArcGIS banner

Renaming and controlling the visibility of fields in a new layer

Geoprocessing

Segment 5 of 6

Top  Previous  Next

You’ll now create an in-memory layer from vegtypelayer with a subset of fields. You’ll also rename the fields to remove the concatenated text introduced by joining fields.

To do so, expand the Layers and Table Views toolset located inside the Data Management Tools toolbox. Right-click Make Feature Layer and click Open. Click the Input Features parameter dropdown arrow and click the in-memory layer vegtypelayer. Type “vegtype_new” for the value of the parameter Layer Name. This is the name of the output layer to create. The output layer is an in-memory layer that references the data source of the layer set for the Input Features parameter. In the Field Info table, click and widen the NewFieldName column. In the Field Info table, click vegtype.HOLLAND95 in the NewFieldName column and remove the text vegtype.. Remove the text vegtype. from vegtype.Shape_Length and vegtype.Shape_Area. Remove the text vegtable. from vegtable.HABITAT and vegtable.VEG_TYPE. Click TRUE in the Visible column for both vegtable.OID and vegtable.HOLLAND95 and change it to FALSE. You don’t need the OID field, and you have two HOLLAND95 fields, so one can be removed from view. Click OK.

A new in-memory layer is created with the renamed fields. Only the fields set to Visible will be available in the layer.


Please visit the Feedback page to comment or give suggestions on ArcGIS Desktop Help.
Copyright © Environmental Systems Research Institute, Inc.