PROBLEM
In ArcGIS Online or Portal for ArcGIS, 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 added 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. They make use of the dBASE file format (.dbf file) to store attributes, which does not include 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 image below shows the field aliases of the hosted feature layer preserved in ArcGIS Online.
The image below shows the field aliases of the hosted feature layer preserved in ArcGIS Online.
Article ID: 000032057
Get help from ArcGIS experts
Download the Esri Support App
You can also download the app to access the chatbot anytime! Download it now.