Why can't I overwrite a web layer which has a view?

07-24-2020 12:29 PM
New Contributor II

I attempted to overwrite a web layer in Portal for ArcGIS via ArcGIS Pro. The web layer I attempted to overwrite has a view. From within ArcGIS Pro, the overwrite appeared to be a success, but the result is not as expected.


Overwrite web layer (hosted feature service)


The hosted feature service contains no data, but the corresponding feature service view contains the updates.


1. The feature class used to overwrite the feature service was identical with respect to a very minor symbology change, a definition query, and more features.

2. I replicated this same workflow (same scenario) with a completely different feature service and found the same result.


ArcGIS Pro 2.3

Portal for ArcGIS 10.7 (unconfirmed)

This seems like a bug. 

0 Kudos
1 Reply
New Contributor II

The problem was isolated to a definition query applied to the feature class in ArcGIS Pro. The definition query is valid and should not yield an empty feature service.

As a workaround, I removed the definition query and adjusted the view in Portal.

0 Kudos