3

Using ArcGIS Desktop 10.2.2, Advanced license. I created a new coded domain for a string field. I added the domain to an existing field. When I edit the features, i would expect to get a list of the coded values from the domain as a dropdown menu. This is not happening. What am I missing - is there a simple check mark or radio button setting?

  • Your expectation is what I observe whenever I do this. I recommend that you edit your question to list all your steps in detail with pictures. By doing this I suspect that you will spot something astray in your procedure but if not then we will know exactly what you did, and be in a much better position to provide an answer. – PolyGeo Aug 7 '14 at 21:55
  • If, as I suspect, the original poster had this question while working through Exercise 13b in "Esri ArcGIS Desktop Associate Certification Study Guide," as I did, then maffa's answer regarding subtypes is spot on. See the web page on Geonet titled "Errata sheet for Desktop Associate Study Guide book." There is a link to download the errata sheet on there. – Leta Rogers Jul 20 '16 at 23:14
3

Make sure subtypes have not been defined for one of the fields in the feature class you are assigning a domain to. In the Feature Class Properties, choose "Subtypes". If a subtype field has been defined, click into each row in the table "Subtypes" and add the domain in the table "Default Values and Domains" below. A dropdown menu will appear only for the features belonging to one of the subtypes for which you have added the domain.

If your feature class contains subtypes, it is not enough to see the domain assigned to the correct field in the "Fields" tab of the Feature Class Properties.

  • Do you have any ESRI sources that document this? – Simon.y Dec 17 '18 at 21:24
0

maffa's answer can be carried out programmatically using the optional 'subtype_code' parameter of arcpy.AssignDomainToField_management() where (all) the subtype codes and descriptions can be given as a list of strings e.g. ["0: Unknown", "1: Concrete", "2: Asphalt"]

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.