laptop and a wrench

Bug

If a field used in a filter setting on the Select Fields screen is deleted after creating a view layer from a hosted feature service, creating a new feature layer from the view layer fails and returns a "Data Error" message.

ArcGIS Online
Bug ID Number BUG-000174819
SubmittedMarch 6, 2025
Last ModifiedJune 19, 2025
Applies toArcGIS Online
Version foundFeb 2025
Operating SystemWindows OS
Operating System Version11.0 64 bit
StatusAs Designed

Additional Information

This behavior is expected at this time. When a view layer is created with a field filter, a definition query for this filter is added to the view layer's JSON. This works on the view layer even if the filter field is not included in the view layer, as queries and requests to the view layer are sent through to the original hosted feature layer, where the filter field exists. Once the view layer is used as a template for a new hosted feature layer, the definition query is carried through to the new hosted feature layer. However, the field referenced in the definition query does not exist in the new hosted feature layer, causing the Data Error.

Steps to Reproduce

Bug ID: BUG-000174819

Software:

  • ArcGIS Online

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options