I figured it out. It is caused by using a different field alias name in the project than in the geodatabase. I think this is a bug. I think the REST API should be either using the geodatabase alias name or the project alias name.Navigating to http:\\myserver\ArcGIS\rest\services\testservice\MapServer\5 returns a list of fields and the alias names as defined in the ArcSDE geodatabase.OBJECTID (Type: esriFieldTypeOID, Alias: OBJECTID)L_NUMBER (Type: esriFieldTypeString, Alias: Number)L_STYPE_CD (Type: esriFieldTypeInteger, Alias: GIS Subtype)L_ID (Type: esriFieldTypeInteger, Alias: Auto ID) //Auto ID is the alias applied to the geodatabase for this fieldThe identify operation on that layer returns a list of fields with alias names as defined from the project"attributes" : {"OBJECTID" : "540","Number" : "19348","GIS Subtype" : "Null","ID" : "8", //ID is an alias i applied to the project, overriding the Auto ID alias from the geodatabase)Can someone confirm this as a bug or let me know if this is as designed?
I believe this issue I found back in April is a bug. How can I report this or get confirmation that it is a bug and is not as designed?
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.