Navigator integration with Survey 123

2400
6
08-27-2016 09:23 AM
SusanEnyedy_Goldner
Esri Contributor

Is there anyway to integrate Navigator directly with Survey 123, without using workforce? I know how to integrate the apps using Workforce.

Such as navigate to a location, then open a Survey to collect at the location.

Thanks,

Sue

Tags (2)
0 Kudos
6 Replies
XanderBakker
Esri Esteemed Contributor

In Workforce you create an assignment (location) and that location is used to send to Navigator which will calculate the route. Generating a route in Navigator can be done using the instructions found here: GitHub - Esri/navigator-integration: Multi Language repository that contains documentation and sampl... 

As far as I know in Survey123 when you enter a survey you create the feature (normally at the location where you are at that moment). So where would you want to navigate to? If you have a list of locations where you want to do the survey than I guess it would be possible, but that list would be the basis to navigate to the location, and there would not be a direct integration. Can you explain a little more about your use case?

In Collector I can imagine that this would be possible to do without Workforce. You would work over existing features, and each feature would have a URL that contains the link to Navigator and the location information (coordinates or address).

SusanEnyedy_Goldner
Esri Contributor

My example is starting in Navigator, navigate to a location then open a Survey and collect from here.

I know you could just open a Survey yourself -  just wondering if there is a way to launch a specific survey directly from Navigator as you can from Workforce mobile - when you start an assignment you can choose to Navigate, Collect or launch Survey 123. This is the question I got from a client & looking to have answered.

Thanks for your reply,

Sue

0 Kudos
XanderBakker
Esri Esteemed Contributor

Interesting use case, so when Navigator reaches its destination the survey should start with the location from Navigator? Nice, but I'm not sure if this is currently possible. You may want to write directly to the Navigator email address at Esri (navigator4arcgis) and I'll tag Scott Sandusky who I'm sure is able to provide you with the correct answer.

TimothyHales
Esri Notable Contributor

Susan Enyedy Goldner‌ - In addition to contacting Esri through the provided email address, you could also create an idea in ArcGIS Ideas‌ under the Navigator for ArcGIS Category. 

JamesTedrick
Esri Esteemed Contributor

Hi Susan,

How are you originally opening Navigator?  Currently, there isn't a built-in relationship like there is between Collector and Navigator (we rely on Workforce or another similar system to manage that).

It might be possible to create an app link url, using the callback url (as defined towards the bottom of the README at GitHub - Esri/navigator-integration: Multi Language repository that contains documentation and sampl... ) to launch Navigator with a 'return to Survey123' link (using it's app schema url, arcgis-survey123://itemID=... , detailed at https://community.esri.com/groups/survey123/blog/2016/07/30/understanding-survey123s-custom-url-sche... ).  The starting point would need to be a html page or something producing HTML output (a pop-up, for example, could do this in Explorer); currently we can't construct that complex HTML in Survey123 on the fly (and thus start with Survey123. (see reply below).

Can I ask about how you're wanting to use Navigator & Survey123 together, and what obstacles using Workforce as the intermediary currently present?

JamesTedrick
Esri Esteemed Contributor

Turns out I misspoke a little- the link to launch Navigator can be generated by Survey123, it's just the validation is a bit strict.  Find below a sample that does so.