PROBLEM
In ArcGIS Pro, feature layers with attribute rules can be published to ArcGIS Online to improve the editing experience and geodatabase dataset integrity. However, when the visibility of attribute fields with attribute rules is disabled before publishing to ArcGIS Online to avoid displaying unnecessary information, the hidden attribute fields from the published feature layer are not preserved.
The image below shows the available attribute fields for the feature layer in ArcGIS Pro before the Location field is hidden.
The image below shows the available attribute fields for the published feature layer in ArcGIS Online Map Viewer, with the hidden Location field removed.
When a feature layer is published, the attribute fields containing attribute rules or contingent values cannot be hidden. All fields must be visible, as hidden fields are not preserved when published to ArcGIS Online.
To solve this, enable the visibility of the attribute fields in ArcGIS Pro and disable the visibility of the attribute fields in ArcGIS Online.
Article ID: 000033506
Get help from ArcGIS experts
Download the Esri Support App