Collector/Survey123 - Autopopulate from multiple features

03-13-2019 08:33 AM
New Contributor II

I am using Survey that opens from Collector to autopopulate fields.  I have successfully been able to modify the submission URL of a feature service to get some fields but I was wondering if there was a way to pull data from other features.

example: there are 3 relevant features:Parcels (polygon), Poles with the Survey link (point), and Inspections being created in Survey123 (point).  I want to be able to pull the ParcelID from the polygon into the Survey.

Is this possible or am I being ambitious?

Collector (Windows 10):

Survey123 Connect: 2.8.4

Survey123 Desktop: 2.8.2

0 Kudos
1 Reply
Esri Regular Contributor

Hi Alicia

You would need to use the beta JavaScript functionality described here: Welcome to our Feedback Community 

With some basic development skills, you will be able to perform a spatial query against a polygon layer and use the returned attribute to populate a question in your form.