laptop and a wrench

Error

Setting 'Return ID's Only = True' in the query panel at the REST endpoint when querying a feature service published from a registered database against an unregistered view (regardless of the RDBMS) returns an error.

Última publicación: March 9, 2020 ArcGIS GIS Server
Número de ID del error BUG-000128505
EnviadoFebruary 7, 2020
Última modificaciónJune 11, 2024
Relacionado conArcGIS GIS Server
Versión encontrada10.7.1
Sistema operativoWindows OS
Versión de sistema operativo10.0
EstadoDuplicate

Información adicional

Duplicate of BUG-000110683: This is expected behavior. The Object IDs and the Return IDs Only parameter entries are for the ObjectID data type. If the view is not registered with the geodatabase, even though there is a field called objectid, it is still just like any other field – its type is long integer. In order for this field to be recognized as the ObjectID type, the view must be registered with the geodatabase. Once that is done, the properties of the view would now show the type of the ‘objectid’ field as Object ID and the query would then work.

Solución alternativa

Publish a view which is registered with a geodatabase and successfully run when querying the feature service with 'Return ID's Only: True' at the REST endpoint. 

Pasos para reproducir

ID del error: BUG-000128505

Software:

  • ArcGIS GIS Server

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga