Select to view content in your preferred language

Delete records in an unrelated table and update a domain when a feature is deleted

392
3
05-09-2023 05:18 AM
HanliePetoors
Occasional Contributor

Hi,

I'm working in Windows 10, ArcGIS Pro 3.1.

I would like to write a attribute rule that does the following:

When a feature is deleted from feature class A:

  • delete a feature in feature class B (no formal relationship to feature class A)
  • remove the deleted feature's name from a domain. The domain is used in feature class B.

 

Is this possible with attribute rules?

Thanks

Hanlie

3 Replies
MikeMillerGIS
Esri Frequent Contributor

You can use this as a guide for the delete - https://github.com/Esri/arcade-expressions/blob/master/attribute_rule_calculation/UpdateParentFeatur...

You cannot do a schema change with attribute rules, so you will not be able to update the domain

0 Kudos
HanliePetoors
Occasional Contributor
Hi Mike,
Thanks for your reply.
There are no formal relationships between the feature classes, so it looks like attribute rules are not the right tools for this use case.
Regards
Hanlie
0 Kudos
MikeMillerGIS
Esri Frequent Contributor
The example I sent does not use a formal relationship.
0 Kudos