PROBLEM

Field aliases of shapefiles are not preserved in the ArcGIS Enterprise portal or ArcGIS Online

First Published: February 22, 2024
Last Published: April 9, 2026

Description

In the ArcGIS Enterprise portal or ArcGIS Online, shapefiles can be added as an item to create a hosted feature layer. However, the resulting feature layer does not have field aliases preserved, and both the field and display names are identical.

In this example, the shapefile is created in ArcGIS Pro with different field names and field aliases. However, when the shapefile is directly published to ArcGIS Online, the feature layer’s display names follow the field names instead of the field aliases.

The field aliases in ArcGIS Pro
The display names in ArcGIS Online follow the field names instead of the alias names

Cause

This behavior is a known limitation for shapefiles when directly published to the ArcGIS Enterprise portal or ArcGIS Online. They use the dBASE file format (.dbf) to store attributes, which does not support field aliases, unlike geodatabases. Shapefiles can have aliases when referenced within a map document or layer file, but not as a stand-alone file or when shared without a layer file. Refer to ArcGIS Pro: Geoprocessing considerations for shapefile output for more information.

Solution or Workaround

Configure the shapefile’s layer pop-ups in ArcGIS Pro

  1. Open ArcGIS Pro and add the shapefile to the project.
  2. Modify the shapefile layer's field aliases using the Configure Pop-ups pane.
    1. In the Contents pane, right-click the shapefile layer and click Configure Pop-ups.
    2. In the Configure Pop-ups pane, click Edit pop-up element The Edit pop up element icon.
The Edit pop up element icon in the Configure pop ups pane
    1. In the Fields Options pane, uncheck Only use visible fields and Arcade expressions.
    2. Hover over a field in the table and click Format the field to modify the field alias.
The Fields Options pane
    1. In the Pop-up Field Formatting pane, specify the field alias for Display Label and click Back The Back icon.
The Pop up Field Formatting pane
    1. Modify the remaining field aliases as required.
  1. In the Contents pane, right-click the shapefile layer and click Sharing > Share As Web Layer to share the shapefile layer as a web layer in ArcGIS Online or ArcGIS Enterprise portal. Refer to ArcGIS Pro: Share a web feature layer for instructions.
Sharing the shapefile as a web layer from the Contents pane
Note:
If the Share As Web Layer option is unavailable, close the shapefile layer's fields view.

The field aliases of the hosted feature layer are preserved in ArcGIS Online.

The Table page

Modify the shapefile layer's field aliases using the fields view in ArcGIS Pro

  1. Open ArcGIS Pro.
  2. Add the shapefile to the project and open the fields view.
  3. In the fields view table, double-click the field under the Alias column and edit the alias.
Editing the field alias name in the fields view
  1. Repeat Step 3 to modify the remaining aliases as required and click Save on the top ribbon.
  2. In the fields view, click Close The Close icon.
  3. In the Contents pane, right-click the shapefile layer and click Sharing > Share As Web Layer to share the shapefile layer as a web layer in ArcGIS Online or Portal for ArcGIS. Refer to ArcGIS Pro: Share a web feature layer for instructions.
Sharing the shapefile as a web layer from the Contents pane

The field aliases of the hosted feature layer are preserved in ArcGIS Online.

The field display names in ArcGIS Online reflecting the field alias names set in ArcGIS Pro

Modify the field aliases via the item page of the hosted feature layer

After publishing the shapefile as a hosted feature layer in the ArcGIS Enterprise portal or ArcGIS Online, the field aliases or display names can be modified from the item page of the hosted feature layer. Refer to FAQ: Is it possible to change a field name in ArcGIS Online or Portal for ArcGIS? for more information and instructions.

Article ID: 000032057

Software:
  • ArcGIS Pro
  • ArcGIS Online
  • Portal for ArcGIS

Get support with AI

Resolve your issue quickly with the Esri Support AI Chatbot.

Start chatting now

Get help from ArcGIS experts

Contact technical support

Start chatting now

Go to download options