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 Data Design, and click Fields.
- Check the Visible check box for the field.
- Save the 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 field that is not visible.
- Click OK to close the Layer Properties dialog box.
- Save the map and republish.
More information
See Set layer properties for more information about setting the display field for a layer. See Create and manage fields for information about configuring fields as visible or not visible.