laptop and a wrench

Bug

SOAP query results that are formatted with esriQueryResultRecordSetAsObject show all ObjectId values as -1 when the data source is a (SQL Server or Oracle) Query Layer within a Map Service.

Last Published: August 25, 2014 ArcGIS for Server
Bug ID Number NIM085988
SubmittedOctober 25, 2012
Last ModifiedJune 5, 2024
Applies toArcGIS for Server
Version found10.1
Version Fixed10.2
StatusFixed

Workaround

Adding an Identity field to SQL Server based query layers than specifing that field, as the object id field, will resolve the problem.No workaround currently exists for Oracle based query layers.

Steps to Reproduce

Bug ID: NIM085988

Software:

  • ArcGIS for Server

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