Select to view content in your preferred language

Pre-populating questions with dynamic data

02-12-2019 05:11 PM
New Contributor

Survey123 newbie here. What I'm looking do is add data from a source (table in this case) that's regularly updated into my Survey123 form questions however, I'm not sure what the syntax would be to enable this (or if it is possible). I know pulldata() can do something similar with a static table however, I'm looking to pre-populate questions with dynamic data  which is updated semi-regularly. 

Any advice would be helpful. Thanks.

1 Reply
by Anonymous User
Not applicable

Hi Andrew,

We could update the media folder the pulldata function is referencing when the table is required to be updated 

We could use the custom URL scheme to load values into the Survey on launch. I've seen this dynamically done through Collector fields or from links generated and sent through emails 

For specifically referencing a live layer outside of the form, I believe this JavaScript extensions will enable this and have seen it demonstrated by the S123 team. It's listed as in Beta if you'd like to explore this option further
Sneak peek—Survey123 for ArcGIS | ArcGIS 
This one is a bit more advanced and is yet to be officially released. The first two options will cover most scenarios, depends a bit on your workflows and context