Hi All,
I wanted to populate the list in the single choice question from the layer. I am using the getRecord function.
pulldata("@layer","getRecord","<feature layer url>")
But not getting any records. I tried from the search option but due to lot of records almost 7k in the layer search function is not working properly.
Please help me to get the data from the feature list.
Thanks,
Sunita
Hi @Kristofer
The pulldata("@layer") function retrieves a single record from a feature layer or table.
As you mentioned, you can use the search appearance to populate a choice list from a feature layer or table. For a layer with thousands of choices, it would be best to use the autocomplete appearance as well, so that the the choices are presented in a drop-down list.
In addition, you can supply optional parameters (searchType, filterColumn, etc.) to narrow down and filter the list of choices returned by the query. You can also append parameters to the URL itself to further configure the query.
For more info, check out the Dynamic Choice Lists using Search Appearance blog post and documentation.
Best, Jim