Select to view content in your preferred language

Webmap forms, getting a parent record to auto calculate when a child record is created

194
1
Jump to solution
3 weeks ago
PeterMilenkovic
Frequent Contributor

Hello

I have a parent child relationship in a published service. I am wanting to auto calculate a field at the parent level AFTER a child record has been created. The expression works but only if I reselect the parent record and open the edit form, this is not as streamlined.

Webhooks seem like the obvious solution but they are super annoying to setup and we can't seem to get power automate to work in our enterprise.

 

Cheers

Peter

 

0 Kudos
1 Solution

Accepted Solutions
PeterMilenkovic
Frequent Contributor

So the answer is setting attribute rules on the feature table in the sde, not a calculated field in the webmap form.

Even got a grandparent record to update!

Use qualified names when referencing the related feature sets or relationship names.

https://community.esri.com/t5/attribute-rules-questions/update-field-in-parent-layer-if-related-laye... 

 

View solution in original post

1 Reply
PeterMilenkovic
Frequent Contributor

So the answer is setting attribute rules on the feature table in the sde, not a calculated field in the webmap form.

Even got a grandparent record to update!

Use qualified names when referencing the related feature sets or relationship names.

https://community.esri.com/t5/attribute-rules-questions/update-field-in-parent-layer-if-related-laye...