Pull / calculate data from hosted feature class in Survey 123 connect

714
1
06-07-2021 05:38 AM
TejPal
by
New Contributor

Hi Everyone,

I want to auto populate data from the hosted feature class (polygon). I am using Survey 123 connect beta version.

When I take point on polygon feature using geopoint, some information (field value of particular polygon) should be auto populate in desired question (i.e. pulling x information pulldata("@geopoint", ${location}, 'x')

 

Thanks & Regards,

Tejpal

0 Kudos
1 Reply
BrettStokes
Esri Contributor

Hi @TejPal ,

I'm not sure I fully understand your question but 'pulldata(@geopoint)' is only going to retrieve the available data stored in your point (eg x/y/z co-ords, horizontal accuracy etc etc). If you would like to retrieve data (from an existing polygon feature layer) and populate this into your survey based on your geopoint location, this requires a JavaScript function.

Please take a look at the 'Working with a Feature Service' section of the 'JavaScript' sample (available in Survey123 Connect) for an example of how to set this up. It can be adapted to use your own feature layers.

Brett

BrettStokes_0-1623112820089.png

BrettStokes_1-1623113134126.png

 

 

 

0 Kudos