Use @Pull data command in Connect 123 to return a list of values from a feature service

950
1
10-13-2023 08:18 AM
AndrewReynoldsDevon
Regular Contributor

Hi,

I want to be able to use the @pull data command in connect123 to look up a field called 'PropertyNa' which will return a list of school names. For the user I want them to be displayed a drop down list using the 'minimal' function in the appearance field. The list of schools is maintained by someone else hence wanting to query the feature layer so that the list remains up to date for my survey.

So far I've looked at the code below but it's not working
pulldata("@layer","getRecordAt", "PropertyNa" {URL})

Tags (2)
0 Kudos
1 Reply
IsmaelChivite
Esri Notable Contributor

Hi! Please check this blog: https://community.esri.com/t5/arcgis-survey123-blog/dynamic-choice-lists-using-search-appearance/ba-...

You can populate a list using a layer query using the search appearance. The pulldata("@layer") function will not help you with that.

For a quick approach to generating your XLSForm, you could also use the web designer: https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-dynamic-lists-web/... 

0 Kudos