Select to view content in your preferred language

Arcade attribute value expression in pop up help

319
1
11-03-2023 02:55 AM
Labels (1)
MariusBartašius
Emerging Contributor

Hello I need help,

I'm very bad at coding.

I need one "field value + 1990"in pop ups. Would be the best if I wouldn't need to change other fieldname. Can I recalculate existing attributes?

0 Kudos
1 Reply
jcarlson
MVP Esteemed Contributor

Yes, you can use Arcade to calculate fields: https://doc.arcgis.com/en/arcgis-online/manage-data/calculate-fields.htm

But if you only need it in the popup, and not as an actual field, just add an expression:

$feature.your_field + 1990

That will literally return the value of your field with 1990 added to it.

Arcade expressions added to your popup configuration become available in the "fields list", so you could display the output of the expression alongside or instead of other fields.

- Josh Carlson
Kendall County GIS