Select to view content in your preferred language

Arcade: track edits on a single field

637
2
Jump to solution
10-27-2022 09:50 AM
Labels (1)
LyonMNGIS
Frequent Contributor

Hello,

Can we track the edit date for a single field?

Background:

I have an address point layer with resident names.  I would like to track when the name of the resident is updated.  Essentially, what I would like to do is "If this field is updated then calculate the edit date in another field."

Thanks!

 

 

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RhettZufelt
MVP Notable Contributor

An attribute rule on the edit date field similar to this should work:

if ($originalFeature.Name== $feature.Name)
   return $feature.Name
else
   return Now()

R_

 

View solution in original post

2 Replies
RhettZufelt
MVP Notable Contributor

An attribute rule on the edit date field similar to this should work:

if ($originalFeature.Name== $feature.Name)
   return $feature.Name
else
   return Now()

R_

 

LyonMNGIS
Frequent Contributor

Thank you for your help.  The script seems to work!

0 Kudos