Select to view content in your preferred language

Pulling data from existing feature service

557
1
06-04-2021 12:31 PM
KarimKorbane
Emerging Contributor

Hello everyone,

 

I have been attempting to pull data from an already existing feature service on Survey123 using a custom JavaScript function. The JavaScript function should take an inputted ID and return the matching individual name from the existing feature service on the online portal. How do I read that online feature service into my JavaScript function and store it in a variable for further processing?

 

Thank you in advance

0 Kudos
1 Reply
KevinMacLeodCAI
Frequent Contributor

Hi Karim, I don't know if this would be helpful but maybe you can get that property and other info from the ItemID as mentioned here would return some of that other info in the properties of the object via JSON? I just got into Survey123 this week and used this workflow to link 123 to Collector which worked nicely - https://support.esri.com/en/technical-article/000020624

0 Kudos