Select to view content in your preferred language

coded domain values/descriptions

828
1
05-23-2012 03:14 PM
Town_ofSnowflake
Deactivated User
How do I set my coded value descriptions to appear in popups, html code, etc rather than actual coded value for subtypes.  For example I'd like to see "Observation" (subtype description) rather than "2" (subtype value).  I'm using ArcGIS Desktop/Server 10.0 and I'm building a web application with the javascript API (2.8).
0 Kudos
1 Reply
Town_ofSnowflake
Deactivated User
... and I'm looking for am alternative where I don't have to set up some sort of dictionary/conditional statement for every coded value like this:

if (attr.eventType == '2') {
var eventtype = "Observation";
};
0 Kudos