The specified display field must be visible when publishing features.
Solution
Do the following to make a field visible:
Do the following in ArcGIS Desktop:
- In the Table Of Contents pane of ArcMap, right-click the layer that contains the field and click Properties.
- Click the Fields tab.
- Check the box next to the field to make it visible.
- Click OK to close the Layer Properties dialog box.
- Save your map and republish.
Do the following in ArcGIS Pro:
- In the Contents pane of the map, right-click the layer that contains the field, point to Design, and click Fields.
- Check the Visible box for the field.
- Save your map and republish.