laptop and a wrench

Bogue

Failed to execute a query by ObjectId after creating a query layer on a view feature class.

Dernière publication: September 28, 2020 ArcGIS GIS Server
Numéro d’ID de bogue BUG-000133851
EnvoiSeptember 15, 2020
Dernière modificationDecember 16, 2025
S’applique àArcGIS GIS Server
Version trouvée10.7.1
Système d’exploitationWindows OS
Version du système d’exploitationN/A
StatutAs Designed

Informations supplémentaires

ESRI_OID in a query layer is a virtual field. Therefore querying against ESRI_OID field is not allowed. Starting ArcGIS Enterprise 11.4, map service returns uniqueIdInfo element in a query layers REST resources when the object-id field is virtual. Look for uniqueIdInfo.OIDFieldContainsHashValue. If the value is true, don't use the object-id field as it is most likely named ESRI_OID in this case in a query input. Instead use fields from uniqueIdInfo.fields property. If the need to get or send unique-ids arises, use returnUniqueIds or uniqueIds parameters.

Solution de contournement

Publish the map service as a copy from ArcGIS Pro.

Étapes pour reproduire

ID de bogue: BUG-000133851

Logiciel:

  • ArcGIS GIS Server

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement