Looking to get some insight into how attribute rules (specifically calculations) are effected by the use of python. How are attribute rules treated when new records are added to a table (or feature class) using python? We have a fair number of process that truncate and append records from one table to another on a nightly basis and I was wondering if an attribute rule (calculation) would be adhered to when inserting records using the append GP tool through python? Would this be the case to have the attribute rule only set for bulk execution at a later time (sometime after the python script runs)?
Thanks for the information. I was struggling to find anything in ESRI's documentation about how attribute rules would be affected python data inserts.
Attribute rules are defined in the database and are applied whenever data is added or edited, even via Python. However, there are options for deferred evaluation. See batch calculation rules.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.