Closed MikeMillerGIS closed 7 years ago
Description: This rule validates data entry on fields with domains against the domain. If the value falls outside the range or not in the coded value list, the edit is aborted.
VALUEMETHOD: VALIDATE_DOMAIN FIELDNAME: Field1, Field2, ... VALUEINFO: Nothing
Note: This rule is not valid for On_Manual
Hi Mike,
Let us run 'Sort Domain' GP tool on the VALUEMETHOD domain. This will help show the value methods in ascending order when the user uses this table during configuration.
Thanks, Guru
@guruesri ty, updated our master repo with the datasets to have a sorted domain
When I populate a field with a value that is not part of the domain, I get the Field Calculator warning. When I click Yes on that dialog, the incorrect value gets populated.
Why would you click yes :) What value is being populated?
:) out of curiosity. In the wFitting feature class, I input Testing for FITTINGTYPE and it took it.
I am not sure we can do much here, we are aborting the operations for each edit, somehow the field calculator is still setting the values.
I will move to a known issue
Maybe we mention it in the doc to click No in the Field Calculator warning?? This way users know that clicking Yes will populate values outside of the Domain.
@pLeBlanc93 lets include this in the doc - https://github.com/Esri/local-government-desktop-addins/issues/190
new method documented and caution note added about yes
When a field is changed, validate its attribute values to ensure they are valid if the field has a range or coded value domain.