Hello!
I'm wondering if it is at all possible to select a feature in a dashboard list and dynamically parse some information from the feature into a Survey123 form that is within an embedded content element within the same dashboard.
Cheers
SCB
Yes, and you don't even need custom code to do it. You just have to use URL Parameters to pass data from your List to the Embedded Content element. In your Dashboard, set the Embedded Content URL to the Survey123 web form link and append your fields using the field:SurveyColumn={LayerField} syntax. When you select a feature in your list, the Dashboard "injects" that feature's attributes into the URL, effectively auto-filling the survey on the fly. Just make sure your List has a Filter Action targeting the Embedded Content element so it knows to reload the form whenever you switch features.
And just an aside. I've decided to implement this from selecting a feature in a map rather than from a list. For anybody wanting to do it that way it is exactly the same set-up but obviously you place the action on a layer in a map rather than in the list element.
Thanks @VenkataKondepati , @Neal_t_k .
I had been exploring this route after reading that blog but was not getting any results. You pushed me to keep trying this avenue and I realised I needed field:SurveyColumn={field/LayerField}.
Many thanks once again, this has made me very happy 😀
Here's blog post on what @VenkataKondepati describes: https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-embedding-a-survey/ba-p/899140
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.