Arcade functions within field to automatically calculate for new feature?

3123
7
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 Emeritus

Two words: Attribute Rules...

That should just about do it....

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

7 Replies
JoeBorgione
MVP Emeritus

Two words: Attribute Rules...

That should just about do it....
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 Emeritus

Pretty sure they are not available in AGOL.

That should just about do it....
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.

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 Emeritus

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

^^^^^ This....

That should just about do it....
PaulLong
New Contributor II

Does anyone know whether this is now included in AGOL? I would like to run an autocalculate field for some math functions as field crews enter data in field. This thread is over two years old, so I'm thinking that this functionality is now here?