Esri Field Maps Integration

This guide explains how to configure ArcGIS Field Maps to launch Utility Scout for pole measurements and display the returned measurement data.

Overview

The integration works in two parts:

  1. Launch Link - An Arcade expression that creates a clickable link in Field Maps to launch Utility Scout with the selected feature's location and identifiers

  2. Measurement Display - An Arcade expression that parses and displays the measurement data returned from Utility Scout


Prerequisites

Before configuring Field Maps, ensure:

  • Your feature layer has the following fields:

    • measurement_json (String, length 4000+) - Stores the measurement data JSON

    • utility_scout_link (String) - Stores the link to view measurements in the web portal

  • You can name these fields whatever you want- but the name must be updated in the arcade expressions

  • Utility Scout is installed on the device

  • You have the Item ID of your ArcGIS Online/Portal hosted feature layer


Part 1: Creating the Launch Link

This Arcade expression creates a clickable link that launches Utility Scout with the necessary context to perform a measurement.

Step-by-Step Setup

  1. Open your Web Map in ArcGIS Online or Portal

  2. Navigate to the Pop-up configuration for your poles layer

  3. Add a new Arcade Expression element

  4. Paste the following expression:

There is likely a way to get the itemID dynamically via arcade features & variables. You can also get this id from the url

Parameter
Description
Example

itemID

Your ArcGIS Online/Portal Item ID for the feature layer

"59d2d97d865b4e7cb11609fe7295273e"

globalID

Automatically retrieved from the selected feature

Auto-populated

featureSourceURL

The REST endpoint of your feature service layer

Auto-populated

lat / long

WGS84 coordinates of the feature

Auto-calculated

measureJsonFieldName

the name of the field to store the measurement json

measurement_json

urlFieldName

the name of the field to store measure url

utility_scout_link

mapName

the human readable name of the map

comcast-5781


Part 2: Displaying Measurement Data

This Arcade expression parses the measurement_json field and displays a formatted summary of the measurement results.

Step-by-Step Setup

  1. In the same pop-up configuration, add another Arcade Expression

  2. Paste the following expression:


Measurement JSON Structure

For reference, here's the structure of the measurement_json data returned by Utility Scout:


Troubleshooting

Link doesn't open Utility Scout

  • Verify Utility Scout is installed on the device

  • Check that the URL scheme utilityscout:// is correct

  • Ensure all parameters are properly URL-encoded

Coordinates are incorrect

  • Verify your data's spatial reference

  • The Arcade expression assumes Web Mercator (EPSG:3857) - modify the conversion if using a different projection

Measurement data not displaying

  • Check that the measurement_json field has sufficient length (4000+ characters recommended)

  • Verify the field name matches exactly in the Arcade expression

  • Use Console() statements to debug JSON parsing issues

"Invalid measurement data" error

  • The JSON may be malformed or truncated

  • Check field length limitations

  • Verify Utility Scout completed the sync successfully


Last updated