Hello all,
I'm trying to use Field Maps to create a form for field data collection.
We've got areas that need to be surveyed which I've got as a pre-existing polygon layer.
I've set up the field map to have the survey Location name (which is prepopulated) and then survey date and surveyor's name to be collected when they arrive.
I've been trying to use an arcade expression to pass the surveyor name and survey date to another (point) layer using intersects / within, but am having no luck.
Using this code I've at least seen the field-headings in the "test" section:
var Mines_Info = FeatureSetByName($map, "Mine_Locations")
var MInfo = Intersects($feature, Mines_Info)
return MInfo
But I'm at a loss as to how to pass the information I want through. I either get a "Cannot access property of a null object" error in the arcade window, or a "Failed to calculate" error on the Field Maps app.
Thankyou!