Select to view content in your preferred language

Arcade functions within field to automatically calculate for new feature?

4291
9
Jump to solution
02-10-2021 08:21 AM
jstark_mercernj
Emerging Contributor

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

9 Replies
JoeBorgione
MVP Emeritus

Two words: Attribute Rules...

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

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
Occasional Contributor

They do now. We have used them

0 Kudos
EdmundEkanem1
Emerging Contributor

hi @PaulLong attribute rules now work on AGOL? 

0 Kudos
PaulLong
Occasional Contributor

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?