Select to view content in your preferred language

Catching constraint rules firing

69
0
Thursday
Gfreitag
Emerging Contributor

Hi Everyone,

I have a custom addin for Arcgis Pro, alongside some attribute/constraint rules. Mostly, users are doing edits from inside a custom dockpane, and this modifies the attributes of some tables. I also have constraint rules on those tables, so if a user inputs incorrect information, then the edit is prevented by the constraint rules.

I want to have the dockpane automatically close when they complete an edit, but not if a constraint rule prevented the edit. Is there a way to detect if a constraint rule has fired, and condition on that? Or some event that fires when it does?

Thanks in advance.

0 Kudos
0 Replies