I am trying to auto populate an attribute field in a layer in Field Maps forms using Arcade. I am placing a point on top of an existing point in Field Maps and I want to auto populate a field from the existing point layer to the feature I just created on top of it. I am using snapping, so they should be exact. I am using the following calculation in forms and it will return "Null" but not the attribute from the underlying layer, which is what I want.
What am I doing wrong.....I used the code from the "Common calculated expressions for ArcGIS Field Maps" document.
There could be a number of things but I would like to rule something out.
The second line what if you wrote it like this: