I cant create features due to :Value doesn't fall within Domain : XName

1748
6
06-11-2019 09:06 AM
PhilippeDufour
New Contributor

I got a GDB with many field and domains, when i try to create a feature in this layer, i got a error message : Value doesn't fall within Domain : Xname. 

So i cant create features on ArcGIS Pro but this problem doesnt occurs with Arc map 10.5

0 Kudos
6 Replies
RobertBorchert
Frequent Contributor III

figure out which attribute is giving you the issue and add the value to the domain.

0 Kudos
JenniferCadkin
Esri Contributor

In Pro, we added functionality to fail the edit if the value is outside of the domain.  If you need to set the attribute to an invalid domain value, rather than adding the value to the domain, you can use Calculate Field from the Attribute table.  

0 Kudos
PeterMilenkovic
New Contributor III

The error is caused because pro is expecting a domain value, you can solve this problem by setting a default value for field or make the field nullable.

If a field uses a subtype the you need to set a default value for all subtypes or make them nullable

Hope this helps

EvanOlivier
New Contributor III

This is a bit confusing.

If we have to set the option to not allow null values to ensure the field is required in collector, and we do not want to set a value, then why would Pro not allow this? 

Seems to me that if you were to set a default value, then there would be no field requirement in collector's UI upon adding a feature. Similarly, if you allow it to be nullable, then you also demolish the purpose of a required field....

0 Kudos
YinghongLi1
Occasional Contributor

Same rule applies to our data.  We do not want a default value and we do not want the null value.  We want to make sure that user selects a value.  With default or null user may forget to enter a value.  Pro should give user a right to over write this......

0 Kudos
TheoF
by
New Contributor II

Yes I have this issue too. I have a domain set on a field, but when I try to add a feature to the layer in Pro it says:

'Failed to create new feature(s). Value doesn't fall within Domain: <domain name>'

Well I need to add the feature before I can input the data! It doesn't even give me the chance. I can't have this field nullable either.

0 Kudos