Tony,
I am a little confused... The identify task only returns field aliases.
Tony,
I have to say a still don't understand, the fields that are returned are always aliases in my experience... Have you recently defined the fields alias and have yet to clear your rest cache and restart your map service? The field ordering issue has always been there, Abode does not guarantee the order of items in an array collection.
Robert is there any way to get field names instead of aliases in identify result?
I changed field aliases in the MXD, republished the map services, and cleared server cache, and still getting the aliases(maybe from datasource), any thoughts?
ArcGIS Server 10.3
JSAPI 3.14
Alaa,
Did you re-publish the map service? Have you checked to see if the map services rest endpoint has the updated alias values?
Hello Robert,
Yes the service rest has the latest aliases like this snapshot
and weirdly I get the identify results(check snapshot) with other names/aliases I don't know where they are coming from
I want to mention that i have only one layer that get the updated aliases in the identify task results, others are not!
Appreciate your support.