AppStars

Essential Energy, from 2016

Field Portal: an electricity network on an iPad, with no signal needed.

Field Portal is the offline-first iPad and iPhone app, API and web back office we designed, architected and built for Essential Energy's field crews. We wrote custom compression algorithms for the GeoJSON asset data, so a whole working area of the network fits on the device, and a form designer, so the business ships its own forms. Apple featured it in its iOS at Work story.

Client
Essential Energy, the NSW Government-owned electricity distributor
Industry
Energy & utilities
Services
Offline-first mobile & field apps, a web back office with a form designer, integration
Platforms
Native Swift for iPad and iPhone; Node.js, Express, React and Redux; Microsoft Azure
Our role
We designed, architected and built Field Portal: the iOS app, the asset compression, the form engine, the API and the back office. We then led Essential Energy's in-house DevOps team that grew it.

The challenge

Until 2016, Essential Energy's field crews ran on paper: paper maps, paper forms, printed schedules and job paperwork called Work Packs. The packs grew so large that data capture became slow and inaccurate, and the courier started refusing to deliver them to sites. Asset maps had to be reprinted every time the network changed.

The engineering problem had two sides. An electricity distribution network is enormous: poles, conductors, streetlights, premises and substations, each with attributes a crew might need, plus customer hazards and life-support flags. Crews needed all of it where there is no mobile signal. And forms change constantly: if every change needed an app release, the forms would always lag behind the work.

Our approach

We made offline the default, not a fallback. Each device holds its whole working area and syncs only changes when a signal returns. We also treated forms as data: a versioned design the app renders natively, so the business can change it without an app release.

It is the same approach we bring to every offline-first mobile and field app today.

What we built

Custom compression for the GeoJSON asset map

The asset data starts life as GeoJSON exported from the GIS: verbose text, with long coordinates and property names repeated on every feature. We designed custom compression algorithms for this asset data, so a whole working area fits on the device and loads quickly.

The compression attacks each kind of waste in GeoJSON separately. Coordinates are quantised to the precision a crew actually needs and stored as integers, then delta-encoded, because poles sorted by location and points along a conductor sit close together. Small deltas go into variable-length integers, so most take one or two bytes instead of eight. Values such as voltage, material and pole type repeat thousands of times, so each distinct value is stored once in a dictionary and referenced by a short index.

A server-side packer also streams each file and writes a compact, versioned binary index: an asset ID, the byte offset and length of each feature, and its longitude and latitude. The app searches the index by location and reads only the bytes of the asset a crew taps. Files are split by region, so each device downloads only its own area.

A spatial index for tens of thousands of poles

On the iPad, a custom quadtree, our asset tile tree, and map clustering keep the map smooth at any zoom, fully offline. One working area synced 36,767 poles.

A form designer with a script editor

We built the web form designer that defines every digital form in Field Portal. Business units choose field types such as choices, photos, locations, assets picked from the map and signatures. Sections can repeat, and preconditions show a field only when another answer matches. For complex forms, a script editor adds an event handler that can set values and show or hide sections.

Designs are versioned, locked while being edited, can be rolled back, and are promoted from test to production.

eForms and digital risk assessments

The form engine renders each design natively and runs its logic offline. Forms carry signatures, photo markup, QR fields and approvals, and queue until the server answers. The risk assessment lets a crew pick the job on the map, drag hazard tiles onto a site photo, work through hazards and permits by phase, then sign and publish.

Sync built for weak signals

The Node.js API serves delta sync by timestamp: a device asks only for designs, submissions and work changed since its last sync. Saves are idempotent, so a retry on a weak signal reuses the existing form ID instead of creating a duplicate.

Enterprise delivery and security

Azure DevOps builds, App Center and Intune device management deliver the app to the fleet. Local stores are encrypted, the app detects jailbroken devices, and staff sign in through Okta with OAuth 2.0 and PKCE.

Architecture

  1. GIS exportGeoJSON asset data for each region
  2. Compress and packCustom compression and a seekable binary index
  3. Node.js API on AzureDelta sync, designs and submissions in Cosmos DB
  4. iPad and iPhoneQuadtree map and form engine, fully offline
  5. Back officeReact form designer, approvals and reports

Form designs travel the same path: published once, then picked up on each device's next sync.

Results

Two weeks after rollout, the whole fleet of 2,000 vehicles was weighed in 10 days, a job that normally took more than three months.

iOS and iPad has genuinely made our employee's lives better. It's helped drive better customer engagements with staff in the field, improved team communication and safety, and significantly transformed the way our people do their jobs, for the better.

Luke Jenner · General Manager Network Services · Essential Energy, in Apple's iOS at Work story

Under the hood

Offline first, from the compression to the sync.

Field Portal map with clustered asset counts of 500 and 461 along a street
Map clustering over a custom quadtree index keeps tens of thousands of poles smooth, offline.

Why it matters now

Most field apps still fail in the same two places: the data is too big to carry and the forms are too hard to change. The shared services under Field Portal went on to carry more than twenty other field apps, and the forms-as-data idea lives on in the Knowby platform and our self-hosted AI work.

What we would do now

Offline-first is a promise, not a feature. If we started Field Portal today we would keep every core decision and sharpen a few:

  • Design the sync protocol first. Write down what syncs, in which order, how conflicts resolve and what a crew sees when they do, before building screens.
  • Make every write idempotent from day one. Give each record a client-generated ID so a retry can never create a duplicate, rather than detecting retries after the fact.
  • Measure the data budget. Track the compressed size of a working area and its load time on the oldest supported iPad in CI, so the map never quietly grows past what the device can carry.
  • Treat the form designer as a product. It has users, releases and support needs of its own. Versioning, locking, preview and promotion are what make it safe to hand to the business.

Questions

What is Field Portal?

An offline-first iPad and iPhone app, with an API and a web back office, that we designed, architected and built for Essential Energy's field crews. It replaced paper Work Packs with an offline network map and digital forms.

How does the app work with no mobile signal?

Each device holds compressed asset data for its working area and every form design it needs. Forms are completed and queued offline, and only changes sync when a signal returns.

Why compress GeoJSON instead of shipping it as is?

GeoJSON is verbose text, with long coordinates and property names repeated on every feature. Custom compression and a seekable binary index let a whole working area fit on an iPad, and let the app read one asset without parsing the whole file.

Can the business change forms without a new app release?

Yes. Forms are versioned designs built in a web form designer, with conditions and an optional script. A published form reaches the field on each device's next sync.

Related

The services behind this work, and more stories like it.

Services

Case studies

Bring us the hard problem.

A 45-minute discovery call with the person who'll design and build it. Clear scope, regular showcases, honest advice, and no handovers to people you've never met.