Arcade Calculate Rule, update Shape field not working with api applyEdits

2215
10
10-20-2020 10:40 PM
calebmelies1
New Contributor

I used the example rule from this ESRI example to update the Shape field of features on insert. The rule works great when adding/updating features via Pro or Portal maps but not from applyEdits API call made to the ArcGIS Enterprise Feature Service end point.  Is this a bug?

ArcGIS Pro: 2.6
ArcGIS Enterprise 10.8.1

SQL Server

ArcGIS Server Log Error:

0 Kudos
10 Replies
calebmelies1
New Contributor

I added zipCodes to the FS and no dice.

All other attribute rules run as expected with the expected outcomes. The only rule not working over REST is the rule updating Shape.

I went ahead and wrote a database trigger straight to SQL Server as a work around.

0 Kudos