Arcade functions within field to automatically calculate for new feature?

643
6
Jump to solution
02-10-2021 08:21 AM
jstark_mercernj
New Contributor II

Hi,

I'm managing a feature layer for data collection, and am wanting to have Arcade expressions automatically run and populate values in fields as new features are added to the data set. Right now I see the only option to re-run the calculations periodically. Is this really the case?

I know you can have an expression run in the pop up as features are added, but these don't appear as new fields on the attribute table so it doesn't fulfill the role I would like.

Thanks!

Tags (2)
2 Solutions

Accepted Solutions
JoeBorgione
MVP Esteemed Contributor

Two words: Attribute Rules...

can't wait to retire....

View solution in original post

XanderBakker
Esri Esteemed Contributor

Hi @jstark_mercernj 

 

@JoeBorgione is correct, Attribute Rules are the way to go, but unfortunately only available for data stored in an Enterprise GDB or a File GDB. It will come to AGOL but I don't have an ETA at this point.

View solution in original post

6 Replies
JoeBorgione
MVP Esteemed Contributor

Two words: Attribute Rules...

can't wait to retire....

View solution in original post

jstark_mercernj
New Contributor II
Thanks -
So would I have to set this up in ArcGIS Pro? Can't be done in AGOL?
0 Kudos
JoeBorgione
MVP Esteemed Contributor

Pretty sure they are not available in AGOL.

can't wait to retire....
XanderBakker
Esri Esteemed Contributor

Hi @jstark_mercernj 

 

@JoeBorgione is correct, Attribute Rules are the way to go, but unfortunately only available for data stored in an Enterprise GDB or a File GDB. It will come to AGOL but I don't have an ETA at this point.

View solution in original post

jstark_mercernj
New Contributor II

Thanks. 

So if I apply attribute rules to the feature layer in ArcGIS Pro, can I export the layer as a web layer so that those rules carry over into AGOL, to be used in Field Maps for data collection?

Or do attribute rules just not function in AGOL at all at this point?

0 Kudos
JoeBorgione
MVP Esteemed Contributor

...attribute rules just not function in AGOL at all at this point...

^^^^^ This....

can't wait to retire....