Select to view content in your preferred language

Pulldata@layer not functioning correctly in Mobile App for Geotrace/Geoshape features

254
1
09-03-2024 02:35 AM
DanielSnozwell
Emerging Contributor

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)Test polygon captured in web. Does populate correctlyTest polygon captured in web. Does populate correctlyTest polygon captured in app. District does not populate (with internet)Test polygon captured in app. District does not populate (with internet)

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. A geopoint captured in the mobile app works correctly as the District field is prepopulatedA geopoint captured in the mobile app works correctly as the District field is prepopulated

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

Tags (3)
0 Kudos
1 Reply
Ruth_JiatengXu
Esri Contributor

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...

Ruth_JiatengXu_0-1725613368281.png

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

0 Kudos