The display field configured for the layer must be visible when publishing features.
Solution
Either make the display field visible or change the display field for the layer.
Make the field visible
Do the following to make a field visible:
- 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.
Change the display field
Do the following to change the display field for a layer:
- In the Contents pane of the map, right-click the layer that contains the field and click Properties.
- Click Display to access properties related to how the layer is displayed in the map.
- Choose a visible field from the Display field drop-down list or, if you have an expression defined on the field, click the Set an expression button and alter the display expression so it does not include the nonvisible field.
- Click OK to close the Layer Properties dialog box.
- Save your map and republish.
More information
See Set layer properties for more information on setting the display field for a layer. See Fields view for information on configuring fields as visible or not visible.