Tag Info

New answers tagged

1

I had the same issue and was able to solve it. If You have large number of layers or domains with many values then service may reach "Maximum Number of Coded Domains" parameter maximum value. Go to "ArcGIS server manager" "Edit service" (the one with missing domains) Open "Parameters" settings "Properties" table find the "Maximum Number of Coded Domains" ...


1

Yes you need to build the drop down manually. When a featureclass contains a field to which the coded value domain is setup, in that case, you get only the index values, and not the description as the attribute value. If you look at the fields object on the query response, you'll see that it contains the domain, and using that, manually you'll have to set ...


2

You can get this from the FeatureLayer class. There is an attribute called fields, which is an array of Field objects. The Field class has domain attribute. The following will output the domains in the console (if any): var map = new Map(...); var fl = new FeatureLayer(...); map.addLayer(fl); // when layer is ready for (var i = 0; i < fl.fields.length; ...



Top 50 recent answers are included