Hi all,
Is it possible to populate questions from attributes from a map in survey123?
for example, I have a basemap with a feature layer that has some company data. When a person collects a sample, can it read attributes from the basemap / layer to populate some questions?
The basemap has a layer with : PROJECT, LOT_ID field.
If the survey collection point lands within the polygon can it grab the PROJECT & LOT_ID metadata fields?
thanks
Solved! Go to Solution.
Hi Tim,
While basemaps in Survey123 are not 'interactive', they can be setup to display additional layers. Yes, it is possible to populate attributes directly from a feature layer using a JavaScript function. I would suggest taking a look at the 'JavaScript' sample available in Survey123 Connect.
There is a group in this sample called 'Working with a Feature Service' that will help you get started. Also check out the 'Working with web services' section in the following Blog:
Best regards,
Brett
Hi Tim,
While basemaps in Survey123 are not 'interactive', they can be setup to display additional layers. Yes, it is possible to populate attributes directly from a feature layer using a JavaScript function. I would suggest taking a look at the 'JavaScript' sample available in Survey123 Connect.
There is a group in this sample called 'Working with a Feature Service' that will help you get started. Also check out the 'Working with web services' section in the following Blog:
Best regards,
Brett