Select to view content in your preferred language

Recommended ways to modify associations

644
5
11-09-2023 03:30 PM
PierreloupDucroix
Frequent Contributor

Hello,

I am interested in having tips on how I can read, create and delete associations for automation purpose.

As far as I understand, it is only possible with Arcade using attribute rules, but is there a way to do that with Python ? My gal is to create toolboxes that can manipulate associations and use them in Pro Tasks.

Thanks

0 Kudos
5 Replies
PierreloupDucroix
Frequent Contributor

Hi,

maybe I was not clear enough, I know about attribute rules capabilities to edit associations, but that's not what I am looking for.

I am looking for a way to directly edit a feature's association, not to trigger an attribute rule.

0 Kudos
MikeMillerGIS
Esri Frequent Contributor

In serivces, you can make the apply edits call to the Association table.  You can use the Request module.

0 Kudos
PierreloupDucroix
Frequent Contributor

Hello Mike,

is there any solution for those who work in mobile geodatabases ?

0 Kudos
MikeMillerGIS
Esri Frequent Contributor

You can write something in the SDK.  

0 Kudos