nschmidt

Fields returned in Identify not the same as fields defined in the layer

Discussion created by nschmidt on Apr 27, 2010
Latest reply on Jun 30, 2010 by rnarayanan-esristaff
My map service returns a different field name for identify than is defined in the service. 

http:\\myserver\ArcGIS\rest\services\testservice\MapServer\5 I see a list of fields:
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)

When I use the identify operation, it returns this as the list:
"attributes" : {
        "OBJECTID" : "540",
        "Number" : "19348",
        "GIS Subtype" : "Null",
        "ID" : "8",

Why is it returning the wrong alias name for the "Auto ID" field (it is returning it as "ID")?

Thanks

Outcomes