Select to view content in your preferred language

Survey 123 URL parameters

537
2
10-26-2023 11:51 PM
MihaRobar
Occasional Contributor

Hi,

 

i am struggling to find out how to set url parameter for opening survey 123 web form with records that are connected to a single point in a web map. They have (same ID).

So i would like to click on a point in a web map to open a pop up and then from url open an survey 123 data form with "filter on" that displays only data connected to a specified feature. Can someone point me to a url parameter site or give an example?

0 Kudos
2 Replies
abureaux
MVP Frequent Contributor

Honestly, not quite sure what you are looking for. Do you mean you want the survey to filter select_one/select_multiple lists down to relevant data based on the Feature you selected?

You can have one or more visible/hidden fields in your survey that populate with data from that Feature. Then, using those fields, you can dynamically generate a search() request. This blog may help with the search() request.

0 Kudos
mrobar
by
Emerging Contributor

I want arcgis web map to open survey 123 data page with active filter, for all records connected to same id/feature. i manage to do this by copying url manualy and calling id field in variable place into a pop up configuration - custome sttributes.

url that worked fo me: https://survey123.arcgis.com/surveys/"my_survey_ID"/data?portalUrl=https:%2F%2F"my_portal"%2Fportal&filter=(0.st_dn_text%20is%20%22"my_survey_id"%2F19-JF%2FJI_53229%22)&extent=15.2403,46.1566,15.2435,46.1571&mapTableRatio=46,54

0 Kudos