I'm new to Survey123, but cannot find an answer to this problem. I've created an autocomplete search for records within a feature layer. The drop down is showing multiple records not aggregated by value.
There are several records with "CEC" as the region. My list is duplicating the "CEC" for each record. I would like the list to be aggregated for selection.
Solved! Go to Solution.
Use &returnDistinctValues=true with your search query like
search("area?url=https://xxx/FeatureServer/1&returnDistinctValues=true",'matches', '', '', 'region', ${region})
Use &returnDistinctValues=true with your search query like
search("area?url=https://xxx/FeatureServer/1&returnDistinctValues=true",'matches', '', '', 'region', ${region})
That worked! Thank you!