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.
Alaa,
Did you re-publish the map service? Have you checked to see if the map services rest endpoint has the updated alias values?
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
Tony, Yep that is exactly what happens. So all you have to do is define the fields aliases in ArcCatalog for the individual feature classes or in ArcMap if you only want those to be defined for that particular map service.
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.
Tony, I am a little confused... The identify task only returns field aliases.
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.