Select to view content in your preferred language

Automatically retrieve the value from a feature layer depending on the location

1317
2
Jump to solution
05-21-2021 11:25 AM
Uli
by
Emerging Contributor

I would like to automatically enter a value from another feature service in a field in survey 123. Depending on the location of the surveyor, the name of an object in which the surveyor is currently located should be queried and entered in the corresponding field of the survey. What is the best way to do this in survey 123 connect? I would be grateful for help, I am not yet that experienced with Survey 123Connect. Thanks!

1 Solution

Accepted Solutions
IsmaelChivite
Esri Notable Contributor

This can be done with a custom JavaScript function. You can learn more about this here: https://community.esri.com/t5/arcgis-survey123-blog/extending-survey123-smart-forms-with-custom-js-f...   There is a section in there that describes how to work with web services with a point in polygon sample that should help.  This is not easy if you are starting with Connect. Take your time. 🙂

View solution in original post

2 Replies
IsmaelChivite
Esri Notable Contributor

This can be done with a custom JavaScript function. You can learn more about this here: https://community.esri.com/t5/arcgis-survey123-blog/extending-survey123-smart-forms-with-custom-js-f...   There is a section in there that describes how to work with web services with a point in polygon sample that should help.  This is not easy if you are starting with Connect. Take your time. 🙂

Uli
by
Emerging Contributor

Many thanks for the help. With the detailed instructions in the link provided, it wasn't that difficult to solve the matter. It works fine