Select to view content in your preferred language

ArcGIS Survey123 cascading from a feature service

360
4
08-26-2025 02:56 AM
HaithamSaleh
New Contributor

Hello,

I am trying to use cascading functionality from another feature service. I created a Survey123 form, and I applied the search() function in the appearance column. But still it is not pulling data from the main feature. It is only displaying blank. This is the function I used:

autocomplete search('featurelayer','url','https://services7.arcgis.com/rnb8rinR3ijLBdiV/arcgis/rest/services/service_....../FeatureServer/0','...')
@ismail
I added the where so the cascading options will work.

0 Kudos
4 Replies
AJD
by
Occasional Contributor

@IsmaelChivite, your inputs would be appreciated

0 Kudos
ZenMasterZeke
Frequent Contributor

I don't know if @IsmaelChivite  is still on the S123 team, haven't seen him post for a while. 

0 Kudos
DeonLengton
Esri Regular Contributor

Hi

Is that the actual url that you used?

If it is then its wrong, there shouldnt be commas between the text components.

This is the correct format:

autocomplete search(concat('featurelayer?url=https://xyz.abc.com/server/rest/services/Sectors/FeatureServer/5')

In addition you need to put in the choices the label and name fields that the query should return.

So for instance:

project_nameProjectIDProjectName

 

These ProjectID and ProjectName fields must match fields in your feature layer.

Neal_t_k
Frequent Contributor

Recommend reading this to start: 

https://community.esri.com/t5/arcgis-survey123-blog/dynamic-choice-lists-using-search-appearance/ba-...

 

Also ensure your feature services have query capabilities.  None of the features in the link you shared have query turned on, so you won't be able to search them with their current configuration

Neal_t_k_1-1756217180127.pngNeal_t_k_2-1756217245811.png