Hi,
I am trying to pass the value in the field "testdata" in the main form to a field "IMSMA_ID" in another feature as below:
arcgis-survey123://?itemID=36ff9e8c13e042a58cfce4ad87f55d19&field:IMSMA_ID={testdata}
Note that testdata and IMSMA_ID are of text type. when you run the main form in survey connect and try to open the other form that contains the IMSMA_ID, the field IMSMA_ID took the {testdata} as text and didn't fill the value set in {testdata}.
I am using survey connect version 3.6.137 and survey field version 3.6.153.
Any advise on this.
Best,
Oussama
Hi Oussama,
From a theoretical perspective, the URL looks correct for use within a pop-up's template. Can you look at an actual URL that would open Survey123 by opening a pop-up and copying the link?
Hi James ,
I tried it on an actual URL. It opened Survey123 and it gives me the same result IMSMA_ID= and not the value of testdata.
Best,
Oussama
Hi Oussama,
Can you share the actual URL?
Hi Oussama,
The excel file explains what the issue is - based on your description, I had thought you were using the pop-up of a layer's web map (such as you would use in Collector or Explorer).
If you are creating a link within Survey123, you would need to use ${testdata} (as opposed to {testdata}), which you have done; however, the placeholder needs to be by itself in a concat statement, and you would need to join pieces together:
concat('<a href="arcgis-survey123://?itemID=728ae32766d24ad8b664a24505998e77&field:imsma_id=', ${testdata}, '">237 Hazard Report</a>')