When publishing a service to ArcGIS Online from a feature class in ArcMap, if a definition query of any kind is applied to a field with name 'PRIMARY' or 'primary' (not case sensitive), the layer shows up blank in ArcGIS Online.
Last Published: June 29, 2015ArcGIS Online
Bug ID Number
June 24, 2015
April 20, 2023
The issue is being reviewed. The review process ensures that the issue contains all necessary information and is easy to understand, that it is not a duplicate of an existing issue, and that it is a valid bug or enhancement request. During this phase, it is possible that you are contacted for clarification or additional information.
Use a different field name if applying definition query in ArcMap, export selected records to a new feature class or shapefile with no definition query applied, or use the Filter option in ArcGIS Online once published.