Select to view content in your preferred language

Are constraint attribute rules ignorable, similar to domains?

537
2
02-24-2024 10:13 AM
Labels (1)
Bud
by
Honored Contributor

ArcGIS Pro 2.6.8; Oracle 18c 10.7.1 EGDB:

When editing in the attribute table, does the user have the option of ignoring constraint attribute rules, similar to what they can do with domains? (with the field calculator, python scripts, models, disabling settings, etc.)

2 Replies
Jake_S
by Esri Contributor
Esri Contributor

@Bud They do not have an option to ignore. I would recommend either coding for your condition in which the constraint ignore (nested true) or converting any constraint rule you wish to ignore to a validation rule, if possible. Validation rules do require Branch Versioning. 

~Jake

HusseinNasser2
Esri Contributor

There isn't an out of the box way to do it but you can script it with an options table as I show here https://community.esri.com/t5/attribute-rules-blog/how-to-toggle-constraint-and-calculation-attribut...