Hi,
I'm creating a customization of https://community.esri.com/groups/survey123?sr=search&searchId=1c813536-219f-401a-bf72-9f26882fca3f&searchIndex=3 with https://community.esri.com/groups/appstudio?sr=search&searchId=8d2cb8c3-4a8a-4b92-858f-2a03fd5832f1&searchIndex=0.
My question is: is possible configure an integration on https://community.esri.com/groups/workforce-for-arcgis?sr=search&searchId=c493096e-6cde-4e9a-8edc-f0a9830f6c2a&searchIndex=0 that initiate my customized survey 123?.
Thanks
Hi Italo,
To work out of the box with workforce, you would need to use arcgis-survey as the url scheme of the application; this might cause issues if a device also had regular Survey123 installed. Alternatively, you can provide a custom url scheme for your application and then customize the link generated in the Workforce project to point to your application instead using ArcGIS Online Assistant or a similar tool; I'd recommend the demo theater presentation "Remotely Invoking Apps" for guidance on this (Slides Video)
I figured out how to do this with Google Chrome on the device. Here is the json in case anyone else is trying to do this from Workforce:
{ "id": "default-googlechromes", "prompt": "Open GIS Website", "urlTemplate": "googlechromes://gis.clark.wa.gov/gishome/index.cfm" },
Here is how you can link to Google Maps as well { "id": "default-comgooglemaps", "prompt": "Open location in Google Maps", "urlTemplate": "comgooglemaps://?center=${assignment.latitude},${assignment.longitude}&zoom=14&views=traffic" }
Hi James,
Thanks for getting back to me. Bear with me and I appreciate your patience. I have read the documentation and understand how to link to survey123, collector, navigator, etc.... But what do I need to use to open the web page I'm trying to link to from workforce - what would the json look like? Items in red below:
{"id": "xyz-xyz","prompt": "Call Web page","urlTemplate": "xyz"}
Hi nels,
The URL schema for a web browser like Safari is standard https://
Please refer to the web form URL parameter description at Integrate with other apps—Survey123 for ArcGIS | Documentation
Is it possible to call a web page with URL parameters from workforce using the same technique? It would be on an IOS device. Is there a URL schema for safari? or does it need to be an IOS app?
{"id": "default-safari","prompt": "Call Web page","urlTemplate": "safari://?webpageurl¢er=${assignment.latitude},${assignment.longitude}"}
Thanks for any help!!!
Nels
Thanks James very useful your answer.
Hello Italo,
This topic in our documentation for Workforce will help you get started:
Create your first project—Workforce for ArcGIS | ArcGIS
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.