Hello,
I have created some surveys in the S123 website and Connect to test a theory. I originally created a survey in Connect with the intention for surveyors to capture polygons of wildfire areas (small and large) in the field using the S123 app. I wanted the District (I used a hosted layer within my organisation) to prepopulate in the survey depending on where the polygon was drawn, rather than the user having to select one from a list. This worked in the browser (on a laptop - see left photo below) but not in the mobile app (see right photo)
Oddly this effects polygons (Geoshapes) and lines (Geotrace), but points (Geopoints) work fine in both the mobile app (providing the mobile device has internet of course) and the browser. See below that the District field is prepopulated like expected in the app. All my test surveys are the same, with the exception of how the map captures data.
Is this a known behaviour with polygons and lines in the Survey123 app? Has anyone found a workaround? It seems odd to work for all in the browser but only points in the mobile app. The syntax I have been using in the calculation field is below:
pulldata("@layer", "getValueAt", "attributes.DISTRICT", "<name of the layer URL which is shared within my organisation>", ${location}, "")
Many thanks,
Dan
Hi @DanielSnozwell ,
Thanks for sharing here. Currently, the location parameter can only be a point for the Field app. https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm#ESRI_SECTION1_BB97985...
I will record your request in our repo and keep you updated. I also encourage you to submit an Enhancement request to Esri support, our Support team will assign an official issue number for your records. This number can be used to search for and subscribe to the issue on the Esri Support site. If the issue is reported by other customers it will be attached to the same issue report, which helps us assess the impact of the issue and prioritize it accordingly.
Thanks,
Ruth