Select to view content in your preferred language

ArcGIS Pro 3.0.1: “table to domain” tool ends up with “The value being added to the CodedValueDomain already exists” error,

1117
2
Jump to solution
08-29-2022 12:41 AM
JamalNUMAN
Legendary Contributor

ArcGIS Pro 3.0.1: “table to domain” tool ends up with “The value being added to the CodedValueDomain already exists” error,

 

I couldn’t figure out why “table to domain” tool ends up with “The value being added to the CodedValueDomain already exists” error considering the fact that the geodatabase has no domains

 

The data is attached

 

Clip_1100.jpg

----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
0 Kudos
1 Solution

Accepted Solutions
RhettZufelt
MVP Notable Contributor

Appears to be because you are using the same field for both Code and Description.

Since you picked Comminity Classification, when it hits the third row, that is "Village Council", but, the second row already assigned "Village Council" so you are trying to insert a duplicated Code value that is not allowed.

R_

 

View solution in original post

2 Replies
RhettZufelt
MVP Notable Contributor

Appears to be because you are using the same field for both Code and Description.

Since you picked Comminity Classification, when it hits the third row, that is "Village Council", but, the second row already assigned "Village Council" so you are trying to insert a duplicated Code value that is not allowed.

R_

 

JamalNUMAN
Legendary Contributor

Great. Thank you for the help

 

I just summarized the “CommunityClassification_English” field and used it to import the domain values to the geodatabase.

 

Clip_1195.jpg

----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
0 Kudos