Select to view content in your preferred language

Coded values show up not description

6647
13
Jump to solution
09-10-2018 06:26 AM
jaykapalczynski
Honored Contributor

I created a FC and added Domains to it.  I coded them as such

0     Fallen tree

1     Water Backup

When I go into Collector App and bring up the webmap then user starts to edit

Th edit window shows the symbology for each of the selections BUT it shows the 0 and 1 and not the description.

This also appears in the web map while editing....

How do I get the description to show up 

13 Replies
jaykapalczynski
Honored Contributor

That sounds great but I have no idea where you are at...I am in ArcGIS Server  are you referencing AGOL?  

I don see anything like you are explaining

0 Kudos
RandyBurton
MVP Alum

I see a Manage button just to the right of Undo and Redo.  This would be on the map you created for your Collector crew.  It could be that Server and AGOL are that different.  I wonder if it is the permission level with the map you are working with. See: Manage feature templates where it says:

Click Manage.

You can only see this button if you're the owner of the feature layer or if you are an administrator in your organization.

Manage Button

0 Kudos
jaykapalczynski
Honored Contributor

With help of another employee here....figured out the root of the problem....So we figured out a way to fix it early enough that we do not have to update the JSON file after it has been published to ArcGIS Server.

It turns out that when you create a Feature Class with domains the Feature Template table (?) is not updated with teh domain values.  If you start and stop an edit session on that Feature Class in ArcMap before you publish the Template tables are updated with the Description from the Domain.

  1. So Create Feature Class
  2. Create and update fields with the Domain options
  3. Start Edit session (you don have to edit anything or add anything, simply start the edit session )
  4. End Edit session 
  5. Publish to ArcGIS Server

This fixed the issue for us....if you have any questions please ask....hope that I explained this well enough.

RandyBurton
MVP Alum

A bug report has been submitted:

#BUG-000116957 [Enhancement] Services published from ArcMap to ArcGIS Online that contains a feature that is symbolized using coded domains, do not contain the domain description in ArcGIS Online.

Workaround

  • Create a feature template before publishing to ArcGIS Online.
  • Can also edit the json of the feature layer to include a description.
0 Kudos