Hi folks,
Question for the community in terms of utilizing the PullData function in Survey 123.
I am working on a project where there is an existing feature layer in our enterprise environment with Street Furniture assets.
The business wants us to create a Survey123 form for condition assessment of these Street Furniture assets.
The workflow is for us to create web application whereby the Street Furniture feature layer is added to the web map, and when a user/editor clicks on the specific Street Furniture point on the map, a pop up is generated with the link to the Survey123 Form along with other attributes. Then within the Survey 123 Form, they would like the Asset ID of the specific Street Furniture asset they clicked on to be autopopulated in the Asset ID section of the Survey 123 form.

I know that we could use the PullData function to populate the Asset ID section of this feature layer, but is there a way to trigger the PullData function on the specific Street Furniture point that the user selects in the web map? Would that be through an attribute rule or is there a way to write that into the PullData function?
pulldata("@layer", "getValue", "attributes.FIELD_IN_FEATURE_LAYER", 'EXACT_REST_URL_HERE,concat("CODE_FIELD= '", ${YOUR_SURVEY123_FIELD}, "'"))
Thanks so much