Deep Linking for Sweet for ArcGIS tablet apps

Deep linking allows the Sweet tablet app to be launched directly from a browser, another application, or even a QR code, whilst also passing parameters that control what the app opens and how it behaves.

This provides a flexible, future-proof way to automate launching Sweet from external systems, streamlining field workflows, and ensuring users land exactly where they need to be when Sweet opens.

Sweet now supports a custom URL scheme that accepts parameters, replacing the need for command-line arguments or direct access to the application’s executable. Sweet can be opened in a particular state by constructing a URL such as:

sweetesriuk://?c=open&a=YOUR_APP_ID&i=online

The following URL schemes are supported:

sweetesriuk://
sweet.esriuk.com:// (Not supported on iOS)

Windows

To use deep linking on Windows, paste the URL into the File Explorer address bar or run it via PowerShell:

Start-Process "sweetesriuk://?c=open&a=YOUR_APP_ID&i=online"

iOS / Android

On mobile devices, the easiest method is to generate a QR code containing the deep-link URL and to scan it.

Commands

The URL supports the following command parameters:

Parameter Name Description
c Command parameter Currently, only the value open is supported (required).
a Application ID Each configured Sweet application has a unique ID, which can be found in the URL when the application is opened in the web client.
i Offline area selector If omitted (and no assignment is provided), the application opens on its detail page. If an offline area ID is provided, the app opens directly to that offline area. If the value online is provided, the application opens in online mode within the mobile client.
j Assignment ID When specified, the assignment is opened directly in the mobile client.
b Back button flag Set to true to remove the back button when opening an application. Useful when launching the app ready for editing without allowing navigation back to the application home screen. Defaults to false.

Examples

Open an application on the application detail page:

sweetesriuk://?c=open&a=ab8e02c90eba4578bdc8e3f89f0d9239

Open an application in online mode:

sweetesriuk://?c=open&a=ab8e02c90eba4578bdc8e3f89f0d9239&i=online

Open an application in online mode without the back button:

sweetesriuk://?c=open&a=ab8e02c90eba4578bdc8e3f89f0d9239&i=online&b=true

Open an application offline to a specific assignment without the back button:

c=open&a=ab8e02c90eba4578bdc8e3f89f0d9239&i=CE4A9962-D754-E31F-0F7E-E7C8AE6F94C6&b=true