Inside a Survey123 form, is it possible to auto-populate a field based on a query executed using Arcade?
For example: I pass a customer ID in the form, and then I want another dropdown (such as the businesses that customer owns) to be filled dynamically by running a query like “give me the locations associated with this customer,” pulling values from expressions or queries against a feature service.
Thank you 🙂
Yes, however it is not arcade, the search() function and pulldata (@layer) functions do what you are describing
Arcade is supported in Survey123 similar to how it is possible in ArcGIS Field Maps. For your use case, you will have to Survey123 Connect.
https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm
https://www.youtube.com/watch?v=DQFTvrTWov4