Enterprise Hosted Feature Layer Views and Open Data

205
1
04-11-2022 02:01 PM
ChrisCarter3
New Contributor III

Using Enterprise 10.9.1, I have published both a hosted feature layer and a view layer. The view layer has a filter set on it, but when I share them with our Open Data site, both layers are returning the entire feature set. Is this expected behavior?

Here is the Portal item for the view layer: https://gis.anaheim.net/portal/home/item.html?id=83e440657ab0417aa39a01efa85628d9

If you view the Data tab, you will see around 300 features.

Here is the REST endpoint for the view layer: https://gis.anaheim.net/server/rest/services/Hosted/BusinessLicenses_New/FeatureServer/0

If you run a REST query, it returns more than 1,000 features.

I would have expected a filter/definition query on a view layer to be honored through a REST query as well as the Portal item.

0 Kudos
1 Reply
Craig_Schellenbach
New Contributor II

The hosted feature has a "maxRecordCount" : 1000 default value. You can go in and change that if you like through the admin of the rest services by adding admin here. /arcgis/rest/admin/services/Hosted/service_{ID}/FeatureServer

 

 

0 Kudos