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.
@IsmaelChivite, your inputs would be appreciated
I don't know if @IsmaelChivite is still on the S123 team, haven't seen him post for a while.
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_name | ProjectID | ProjectName |
These ProjectID and ProjectName fields must match fields in your feature layer.
Recommend reading this to start:
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