Hi-
I'm wondering if it's possible to click on a map either from Field Maps or a map in Survey123 that would then prepopulate certain questions? I have done some research and tried this: pulldata("@layer", "getValueAt", "attributes.NEW_MH_ID", "https://services7.arcgis.com/nZUcF2JydS8L5n3y/arcgis/rest/services/FSDMH/FeatureServer/2",${location}) but it's not functioning for me the way I would like. And not sure if this can only be used for polygon layers as the layer I'm wanting is a point layer. I had also tried creating a url that goes into the pop-up so when they click on the manhole it then should take them to survey123, but when I test it out it doesn't open the survey. If someone could tell me what i might be doing wrong that would be great!
Here is the code for the popup url which was generated through GitHub: <a href="arcgis-survey123://?itemID=0f782ed1a0de433b97092951c1038447&field:manhole_id={NEW_MH_ID}&field:manhole_depth={Z}"><img src="https://dabuttonfactory.com/button.png?t=MH+Survey&f=Roboto-Bold&ts=24&tc=fff&tshs=1&tshc=000&hp=20&vp=8&c=5&bgt=gradient&bgc=6aa84f&ebgc=274e13&shs=1&shc=444&sho=s" alt="MH Survey"></a>
This page walks you though it
https://doc.arcgis.com/en/survey123/get-started/integratewithotherapps.htm
This one is good toohttps://doc.arcgis.com/en/survey123/get-started/integrate-launchfieldapp.htm
This was the document I had originally referred to:
https://community.esri.com/t5/arcgis-survey123-blog/understanding-survey123-s-custom-url-scheme/ba-p/900291
But when I followed these steps and click the link in the pop up I get an untitled/about blank web page. Nothing opens up. This was the original URL:
"arcgis-survey123://?itemID=0f782ed1a0de433b97092951c1038447&field:manhole_id={NEW_MH_ID}&field:manhole_depth={Z}" before I found this blog:
https://community.esri.com/t5/arcgis-survey123-questions/announcing-a-handy-tool-to-generate-survey123-urls/td-p/782658
The documents you sent me pretty much state similar things and this where I'm struggling getting it to actually function as these documents state.
Are you wanting a web browser or app to open? Is this on a tablet or windows? Opening the windows app does not usually work but someone posted it recently they got it to go.
Well I'm building this out on a web browser but in the end it will be used on an ipad.
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.