Esri’s ArcGIS Apps for the Field help you complete specific tasks like capturing asset data, navigating to a jobsite, or completing an environmental survey. Individually, each app is powerful, but when they are integrated, you can complete a variety of workflows.
App integration comes to life using a custom URL scheme. The scheme is a well-known standard for interapp communication on mobile devices and is already used by Collector for ArcGIS, Explorer for ArcGIS, and Workforce for ArcGIS to remotely control other field apps and pass context to them.
Workforce App Integration
Workforce integrates with all Esri field apps. Its user experience supports inter-app communication. As the owner of a Workforce project, you can choose which Esri apps are integrated and how they will work together. By integrating Workforce with other apps, you can maximize the efficiency of your fieldworkers by providing directions and the maps and forms they need to complete their work.
For example, the Workforce mobile app can open Collector to perform a hydrant inspection or Survey123 for ArcGIS to complete a water quality survey. Workforce can also pass the location of the new survey or feature to be collected and prepopulate the location description into a text field, the ID, or even the GlobalID of the assignment so that you can streamline the collection process and link the assignment to the newly captured data.
App integration within Workforce is achieved by creating a URL scheme for each point of integration and storing that scheme in the project JSON file. Workforce handles this for you, but you can also create and alternate URL schemes and modify the app integration in your Workforce project.
Navigator App Integration
The Navigator URL scheme is used by Workforce, Collector, and Explorer. However, you can generate the URL scheme yourself and remotely control Navigator from a third-party app, a text message, or an email. The Navigator’s URL scheme can be parameterized as follows to
- Display directions to a single location.
- Specify a custom start point.
- Generate directions to multiple stops.
- Enable route optimization.
- Set travel mode.
- Automatically start navigating.
- Enable notifications when navigation completes.
See the documentation in the Esri GitHub repository navigator-integration, which describes this integration in detail.
Survey123 App Integration
In a fashion similar to Navigator, Survey123 can be remotely controlled by other apps. It is commonly used by Workforce to complete specific types of work assignments or integrate with Collector to complete forms. Integration is well documented in the Survey123 online reference under the “Integrate with other apps” topic. Using this integration you can
- Start the Survey123 app.
- Open a specific Survey by itemid.
- Pass location for a geopoint question.
- Pass predetermined answers to questions.
A GeoNet blog post, “Using App Links to Launch Survey123 from Explorer for ArcGIS,” provides a step-by-step tutorial for integrating Survey123 and Explorer.
Explorer App Integration
When dropping a pin on the map or from the pop-up details of a selected feature, you can ask Explorer for directions. By default, Explorer will provide a menu of navigation apps that are installed on your device that can be remotely controlled. Using settings, you can alter that list so that it always launches your favorite navigation app.
Similarly, by using the Explorer URL scheme in your app, website, email, or text message, the recipient can open Explorer. You can even open a public mobile map package. Details regarding the URL scheme for Explorer are available in the Esri GitHub repository for explorer-integration.
https://github.com/Esri/navigator-integrationCollector App Integration
As with the apps previously mentioned, Collector supports app integration natively from Workforce and to Navigator. Its URL scheme is relatively new, extensive, and well documented on the Esri GitHub repository collector-integration. You can
- Start the Collector app.
- Open a web map using its itemid.
- Center at a given location.
- Initiate a new feature collection and specify attributes.
Esri’s field apps have introduced a significant pattern of integration leveraging the URL scheme concept. Using this pattern, apps can work together to complete a variety of workflows with greater efficiency.