Select to view content in your preferred language

Map Services display domain code instead of domain name

193
3
Jump to solution
a week ago
SIT_AGSM_VERONA_SPAAGSM_VERONA
Occasional Contributor

Hi all, 

we published a map service on Arcgis Server 11.3 and noted that in the info popup the value of the fields with domain associated, is the code instead of the name/description of that domain.

During the staging, using ArcGIS PRO the values are displayed correctly so I think there is something we're missing during the publishing.

Is there some setting or a particular publishing mode in order to let the name visible?

Thanks a lot and best regards!

Matteo

 

0 Kudos
1 Solution

Accepted Solutions
Brian_McLeer
Frequent Contributor

You may have to update the Maximum Number of Coded Domains on the parameters section of the map service. This happened to me and going from 25,000 to 100,000 resolved the issue. I would start in increments maybe by 5,000 and then check. 

Brian_McLeer_0-1761660882892.png

 

View solution in original post

3 Replies
Brian_McLeer
Frequent Contributor

You may have to update the Maximum Number of Coded Domains on the parameters section of the map service. This happened to me and going from 25,000 to 100,000 resolved the issue. I would start in increments maybe by 5,000 and then check. 

Brian_McLeer_0-1761660882892.png

 

CodyPatterson
MVP Regular Contributor

Hey @SIT_AGSM_VERONA_SPAAGSM_VERONA 

I've had a few issues of this happening on my side as well, from our experience, we take the domain off, publish, so all the codes are shown, and then apply the domain in the EGDB and then republish and all the domains are present afterward. We're also using 11.3 so hopefully that gets you sorted!

Cody

0 Kudos
Priya_Das
Esri Contributor

Hi @SIT_AGSM_VERONA_SPAAGSM_VERONA 

You can check the publishing setting, You may need to enable metadata or adjust field settings.

Try to use DomainName($feature, 'FieldName') in label expressions to retrieve the domain name.

Also check, the map service settings to confirm that domains are included and properly referenced.

 

0 Kudos