We currently have hosted line features that have a field that represents calculated length ( in feet). We have turned on the ability for users to be able to update geometry to either cut or reshape a line segment. Is there any settings or scripts that allow fir the automatic updating of the field based on these changes?
For example, if someone was to cut this specific segment, I would like the field to update along with it. I did have an attribute rules set in Pro, but those do not carry over. So, are there any other ideas for hosted layers?
Solved! Go to Solution.
Yes, you can use an Arcade expression to automatically calculate the length when the feature is updated.
The expression might look something like this:
If you're not familiar with using arcade expressions in forms, this article is a good place to start.
@BrianHartz_Lumos Looks like this is a hot topic in the idea community. This post shows attribute rules are wanted but not yet available in ArcGIS Online.
Hope this helps!
Jon M
Yes, you can use an Arcade expression to automatically calculate the length when the feature is updated.
The expression might look something like this:
If you're not familiar with using arcade expressions in forms, this article is a good place to start.