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

449
4
06-11-2019 09:06 AM
Highlighted
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

Reply
0 Kudos
4 Replies
Highlighted
Frequent Contributor II

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

Reply
0 Kudos
Highlighted
New Contributor III

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.  

Reply
0 Kudos
Highlighted
New Contributor II

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

Highlighted
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....

Reply
0 Kudos