AnsweredAssumed Answered

Labelling Coded Domain Values in ArcGIS Server

Question asked by mturnbullesriaustralia-com-au-esridist Employee on Aug 29, 2018
Latest reply on Aug 29, 2018 by xander_bakker

I have created an MXD that has a layer with a couple of label classes with a label expression. The expression takes the first character of the domain description using the mid function (vbscript) to form a label. I can confirm the Display coded value description box is checked for the label expression. In ArcMap 10.5.1 the label appears correctly, with the first letter of the domain description.

I share the MXD with ArcGIS Server 10.5.1. The same label in the dynamic map service renders the the first character of the domain code, not the description. Query requests against the same feature in the same service return to domain description.There are no errors in the ArcGIS Server logs. My data is source from a SQL Server geodatabase (saw a similar post with no answer indicating that SQL Server may be an issue).

Is this a bug? or am I doing something wrong?