PROBLEM
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.


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.
.

.

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 field aliases of the hosted feature layer are preserved in ArcGIS Online.

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
Get help from ArcGIS experts
Start chatting now