Frequently asked question

Is it possible to change a field name in ArcGIS Online or Portal for ArcGIS?

Last Published: December 19, 2023

Answer

No, it is not possible to change a field name in ArcGIS Online or Portal for ArcGIS. Once a field name is set and saved in its source layer, it cannot be changed. However, the display name of the field name can be changed in ArcGIS Online or Portal for ArcGIS. A display name is the field name displayed on the hosted feature layer's attribute table. Refer to ArcGIS Online: Set a display name or Portal for ArcGIS: Set a display name for more information and instructions to change a field's display name.

Alternatively, if a new name is required to ensure data precision, add a new field and copy the field values from the intended field to the new field by following the steps provided below.

  1. Log in to Portal for ArcGIS or ArcGIS Online and open the hosted feature layer in Map Viewer Classic.
  2. In Map Viewer Classic page, click Details and click Content.
  3. Hover over the feature layer and click Show Table The Show Table button. .
The Content, Details, and Show Table buttons in Map Viewer Classic.
  1. Add a new field in the attribute table.
    1. In the attribute table view, click the Options button and select Add Field.
The Options and Add Field buttons.
  1. In the Add Field window, specify the parameters and click ADD NEW FIELD.
The parameters and the ADD NEW FIELD button in the Add Field window.
  1. Copy the intended field value to the newly created field.
    1. Click the newly created field column header and select Calculate.
The field's header and the Calculate option.
  1. In the Calculate Field : <field name> window, click SQL.
The Arcade and SQL languages options in the Calculate Field : <field name> window.
  1. In the Calculate Field window, under Fields, select the field with the values to be copied from. In this example, Annual_Sales is selected.
  2. Click the Validate button to validate the expression.
  3. Click CALCULATE.
The Calculate Field window.

The image below shows the intended field value from the 'Annual_Sales' field copied to the newly created 'Fourth Quarter Sale' field in the attribute table.

2023-12-07_14-49-10.png

Article ID:000031571

Software:
  • ArcGIS Online
  • Portal for ArcGIS

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options