How to use pulldata function with JScript in 123 Survey ?

03-16-2021 04:21 PM
New Contributor III


I am new to JScript. I would like to use the pulldata () function with JScript. However I can not find a concrete example on the forum.

I'm looking to query a field on a hosted service.
Based on an answer given to one of the form fields, I would like to be able to query a hosted web service and return an associated value from another field of this hosted service.

Answer: 15

Hosted service:
id: 15
equipment: Swimming pool

How to return this value of the equipment field?

Could someone write me the syntax of a JScript file?

Thank you for your help

0 Kudos
1 Reply
Esri Notable Contributor

This blog is now a bit out of date, but it includes an example illustrating how you can query a feature layer: