I have a table in a geodatabse which contains coded domain values.

I also have a feature class in the same geodatabase where I'd like to load those domain values.

There are hundreds of codes so I want to automate this process.

I've looked at the docs for Table To Domain to no avail. The issue is that after I run Table To Domain and select to output to the geodatabase of interest, I don't know what to do next. The result of running the tool seems to be nothing.

Is there anyway to load the coded values from a table (or an excel spreadsheet) into the domains of a feature class? You can see a sample of my workflow below.

enter image description here

  • 2
    What do your geoprocessing results tell you after you've run Table to Domain? You can check this by clicking on the Geoprocessing dropdown menu and selecting Results. Are there any relevant messages? – Radar Oct 5 '15 at 18:48
  • 1
    "Table To Domain" is your answer as you have mentioned in your question. what is the result of the geoprocessing when you run the tool? and what is the type of your table (dbf, excel...)? – Farid Cheraghi Oct 5 '15 at 18:48
  • For the benefit of anyone else with this issue, my environment was set incorrectly. The domain from the table data was being created in the Default.gdb. You change the domain temporarily with the 'Environments' button at the bottom of the tool window; or permanently by changing the default geodatabase for that particular map document. – Valerie Anderson Jul 26 '17 at 20:40
  • Table to Domain will also throw an error if you have duplicate entries within the table you are trying to import. – Valerie Anderson Aug 14 '17 at 19:33

Loading domains that are already in a geodatabase onto a feature class in the same geodatabase is accomplished using the Assign Domain to Field tool.

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.