I have a Survey created in Survey123 Connect Version 3.1.126. I want to open this from a Gallery Card button in ArcGIS Enterprise Sites with <a class="btn btn-default" href="arcgis-survey123://?itemID=0328ba9f2ebb4a3681ced6ac08402272">Open form</a>, but that doesn't open the Survey123 Field App - nothing happens.
If I change the href to https://survey123.arcgis.com/share/0328ba9f2ebb4a3681ced6ac08402272?portalUrl=https://devmaps.huttci..., so that it opens directly in the browser, it tries to open the survey, but fails with the message "FormLogicError: instance "CameraLocation" does not exist in model". It can't find the .csv file I use to add CameraLocation coordinates with pulldata.....
However, if I and an Image to ArcGIS Enterprise Sites and add arcgis-survey123://?itemID=0328ba9f2ebb4a3681ced6ac08402272 in the Image Hyperlink, it opens the Survey123 Field App without a problem.....
It appears that custom URL schemes (such as arcgis-survey123 and arcgis-collector) are not allowed as valid links in the HTML processor being used by Sites. I'll let the Enterprise know.
I've tried again to invoke the Survey123 app from a card button with the link "arcgis-survey123://?itemID=insert your own Form item ID here", but it still doesn't work. The only way I can launch the Survey123 app is from an Image, where I add the link in the Image Hyperlink.....
I'm working with ArcGIS Enterprise Sites 10.7.1.
Unfortunately, this is likely a situation where you will need to wait for this to be in the next version of ArcGIS Enterprise. An alternative would be to raise this with Esri Support to request this fix as a hotfix for ArcGIS Enterprise 10.7.1
No problem. As a work-around, I built a one-button card, took a screen grab of it & saved it as an image. I then added the image in my Site and linked the Survey123 form to that. Works perfectly