For public surveys, you can currently calculate location for a geopoint question using a look up search against a .csv (local or linked content). See this blog post, for example.
However, we would like to be able to look up search against another feature service. Our list of locations is dynamic and new records are added via Survey123. It is huge admin burden to republish the .csv every time a new record is added or an existing record is deleted.
Would syntax like this work for you?
The pulldata() function would return one record, from which you could extract the geopoint value.
By the way, when you say (without JSON), you really mean (without JS). Correct?
I think that syntax looks like it would work, but could you explain what each of the parameters represents?
Essentially we just need to be able to specify the target layer, the type of lookup (contains, starts with, ends with etc.), which column to search in and the field value from the current survey to search by.
Hope that makes sense?
Thanks @Anneka_France I added some additional details above, but do not take them literally. I think the requirement is well understood. Flagged as under consideration for now.
Thanks @IsmaelChivite . That looks great, as long as non-spatial queries will be possible too.
Hope to see this enhancement in a future update 🤞
Now available in Beta. Check details at: https://community.esri.com/t5/arcgis-survey123-blog/survey123-april-2022-now-available-in-beta/ba-p/...
Tentatively scheduled for general release in July 2022
This functionality is now available using the pulldata('@layer') function. Please refer to the Survey123 documentation and the Esri Community blog post on this functionality.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.