Override Field Alias in MapService

82
1
06-26-2020 08:19 AM
Highlighted
New Contributor III

Hello,

I have a MapService published to ArcGIS Server 10.6.1. The data comes from a local FGDB.

In the MXD when authoring the document to define the service I set the aliases:

Because aliases in the FC in FGDB are not good:

But when I publish this as MapServie to ArcGIS Servier the Aliases are read from FC in FGDB and not from MXD settings?
I tried publishing the service under a new name, adding the layer from scratch to MXD and i keep seeing the alias set in MXD being overriden by FGDB. Is this expected or is this a Bug?
I can only see information that when publishing Feature Service (which is not my case):

Field properties

Field properties set in ArcMap are exposed through the feature service; this includes field aliases

But I could not find any information about this in MapSerivces.

Cheers

Szymon

Reply
0 Kudos
1 Reply
Highlighted
Esri Contributor

I tested this in my ArcGIS Server v10.7.1. It definitely works there. I changed alias for couple of fields in MXD and then published the service. When I query or click on the layer for pop-up etc, it shows alias from MXD and not from FGDB. 

Check the REST endpoint for that layer and confirm the alias is correct as per MXD. Example below: