Hi all,
I'm trying to create a survey that has it's geospatial extent collected in FieldMaps, but has it's attribution filled out in Survey123.
Passing from Field Maps to Survey123 has been successful, but is there a way to go from a S123 form to FM?
I've tried using Attribute expressions in field maps, creating this:
var item = "itemID=9fe23dfba1b44dbf913196c054b026ad";
var gid = "&field:incoming_id=" + $feature.GlobalID;
var callback =
"&callback=https%3A%2F%2Ffieldmaps.arcgis.app%2F%3FreferenceContext%3DupdateFeature" +
"%26featureSourceURL%3Dhttps%3A%2F%2Fservices6.arcgis.com%2FualF5oA8RRY0xcbo%2Farcgis%2Frest%2Fservices%2FTest_FM_Layer%2FFeatureServer%2F0" +
"%26featureID%3D" + $feature.GlobalID +
"%26featureAttributes%3D%7B%22asset_id%22%3A%22" + $feature.asset_id + "%22%7D";
return base + item + gid + callback;
It will lead to the Survey123 form, but I get an error when heading back to field maps "Unable to update feature. A feature with the specified ID couldnt be found."
How can I successfully fill out a Survey123 form and then replicate that forms collected attribution in the attribution of a separate feature class in Field Maps? I'd like to have the improved forms of Survey123 whilst collecting positions in Field Maps.