Skip to main content
Version: 1.8.3.X

Upgrade Considerations

Review the relevant release below before upgrading an existing installation. Each release section contains its upgrade considerations and required actions.

Release 8 (R8)

Release 8 (R8) introduces enhancements and behavioural changes to custom event listeners, administration permissions, route defaults, configuration and offline caches. Use this guide when upgrading an existing R7 installation. Some checks may already be satisfied on patched installations; review the dependencies your maps and custom code actually use.

Existing offline data must be re-cached

After upgrading, manually re-cache all existing offline regions/caches using R8 while online, then synchronize the regenerated caches to clients and verify offline use. Upgrading or synchronizing old caches alone is not enough. See Re-cache Existing Offline Data.

Before You Upgrade​

  • Inventory existing offline regions/caches and arrange connectivity and time to rebuild them before users need to work offline.
  • Review custom shape, feature-drawing and measurement listeners, especially cancellation handling and coordinate-dependent code.
  • Arrange a Dataverse System Administrator for the gated setup, license-management and Quick Start operations.
  • Review whether record-form workflows expect new routes to be private, and check inherited or overridden Default Tab settings.
  • Test affected workflows and bulk actions in a suitable non-production environment before rolling out to users.

Upgrade Considerations and Required Actions​

Re-cache Existing Offline Data​

What changed: R8 improves how offline requests are matched to cached data. Existing caches need to be rebuilt to use the updated matching process.

This change does not alter your saved coordinates, geometry or original request data.

What to do:

  1. Identify all existing offline regions/caches used by your basemaps and layers.
  2. Upgrade while online and use the updated R8 implementation to manually re-cache the existing regions/caches. Rebuild the cache set rather than assuming individual legacy entries are compatible.
  3. Wait for cache generation to finish and complete delivery/synchronization of the regenerated caches to every client that will work offline.
  4. Before relying on offline use, test without connectivity that the expected maps, layers and cached queries are available within the prepared regions.

Do not rely on a scheduled refresh or synchronization alone; complete the manual re-cache step. If expected offline data is missing, reconnect and check re-caching and client synchronization before sending users offline.

See Offline Maptaskr Config for region preparation and Working offline for client prerequisites and capabilities.

Replace ShapeDrawingCancelled Listeners​

What changed: ShapeDrawingCancelled can still be registered, but registration reports a deprecation warning and the listener is never called.

What to do: review scripts that wait for this callback to reset validation, release a pending state or clean up an interaction. Use FeatureDrawingCancelled for cancellation of drawing or feature geometry editing where that matches your requirement.

This is not a one-for-one whole-shape replacement. Transform Cancel has no separate public cancellation event, and cancellation does not undo name, property or style changes already applied.

See ShapeDrawingCancelled and FeatureDrawingCancelled.

Handle Undefined Coordinates in Started Events​

What changed: FeatureDrawingStarted and MeasurementStarted report tool activation, before the user enters coordinates. Their start latitude/longitude arguments can be undefined, rather than guaranteed numbers. The new MapFilterDrawingStarted event follows the same convention.

What to do: update typed callbacks and guard coordinate-dependent logic. Treat Started as activation, not as the first map click. Use the appropriate completed event when you need the finished geometry or coordinates; do not substitute zero for missing coordinates.

See Feature Drawing Events, Measurement Events and Map Filter Events.

Review Shape Update and Clear Event Handling​

What changed: shape Started/Modified/Completed events are not exclusively new-drawing boundaries. Committed updates, including property changes, geometry edits, Transform, feature deletion and clearing, can emit Started -> Modified -> Completed. Clear removes the shape's contents and uploaded-file association but retains the shape and its ID.

What to do:

  • Do not treat every Completed callback as a newly drawn shape or as confirmation of a Dataverse save.
  • For one validation per shape update, listen to either Modified or Completed, rather than running the same check from both.
  • Handle empty FeatureCollections after Clear and distinguish clearing contents from deleting the whole shape.
  • For asynchronous validation, account for pending, failed and superseded results instead of accepting an older result after a newer update.

Shape payloads are FeatureCollection JSON strings; parse them with JSON.parse. That string format is not a newly introduced R8 requirement.

See Shape Events and the drawing and editing lifecycle.

Use the System Administrator Role for Gated Operations​

What changed: the built-in Dataverse System Administrator role is required for:

  • Adding or removing license assignments.
  • Removing users from Active Licenses.
  • Clearing the environment's license data with Delete License.
  • Completing Setup Wizard.
  • Installing or updating Quick Starts / Solution Accelerators.

Power Maps Admin or a custom role with equivalent table privileges is not sufficient for those checks.

What to do: update deployment and support procedures so an authorised System Administrator completes these operations while online. If role verification is unavailable, the gated actions remain disabled.

This is not a requirement to make all map users System Administrators, nor a blanket restriction on ordinary configuration access or every Package Manager operation. Standalone license registration and applying/updating a license retain their relevant Dataverse permission requirements.

See Administration Permissions.

Review New Route Visibility on Record Maps​

What changed: new live-map routes previously defaulted to private My Routes. With a record ID, entity type and field name that are not blank, R8 creates working routes as shared RecordRoute entries in Record Routes. This applies even when manual route sharing is disabled or administrator-only.

What to do: review workflows that assume a new route is personal/private. Explain that Record Routes belong to the matching map/profile, record, table and field, not to the whole map or the public. Check permitted ways to share a route or make it private, and the configured record-route creation limit.

Without complete record context, new live-map routes remain private MyRoute entries. Existing private routes/drafts are not automatically promoted, and existing record routes are not reassigned when host context changes. Creating a working route does not save it.

Public addOrUpdateRoute() behaves differently: omitted scope still defaults a new API route to MyRoute, and preserves the existing scope on update.

At the record-route creation limit, users can still add locations to an existing editable selected route, subject to normal restrictions.

See New Route Scope, Record Route Creation Limit and Routing API scope.

Review Default Tab Settings​

What changed: general new/existing shape and filter editing states are retired. Their stored settings, shapeModeOnNewShape, shapeModeOnEditShape, filterModeOnNewFilter and filterModeOnEditFilter, remain configuration-compatible but no longer control those retired states.

What to do: review inherited and overridden defaults, and update training or UI automation that expects the old Tools/Features/Properties/Help panels to open. Use direct selection and the attributes panel, with separate geometry editing and Transform.

Configure only the states available in R8:

  • Main Menu: None, Search, Layers, Shapes, Routes, Map Views, Measurement, Map Filters or Help.
  • Shape/filter geometry editing: None, Coordinate Edit or Help for new and existing geometry.
  • Measurement: None, Coordinate Edit or Help for new and existing measurements.

Existing profiles can still load without removing the retired settings. See Shapes and Map Filters for the current workflows.

Other Behaviour Changes to Review​

These changes can affect existing tasks or results, but new optional capabilities are not universally required API inputs.

  • Route endpoints and optimisation: routes have a fixed Source and an optional fixed Destination. Without a fixed Destination, optimisation may change the final stop, depending on your provider. When updating routes through the API, preserve returned waypointType values to keep the intended start and finish. The field remains optional. See waypoint roles and normalisation.
  • Drawing/filter editing and cancellation: direct property changes are separate from geometry/Transform confirmation. Cancel does not revert all earlier edits. Review whole-filter editing, dedicated Transform and predefined-shape permissions without assuming new default-on permissions replace every existing gate. See Shapes and Map Filters.
  • Drawing appearance and offline bounds: the drawing background now defaults to transparent, separately from saved-shape fill. Offline bounds can be corrected when leaving a field where the source extent is available; this is not unrestricted geometry repair or the offline cache migration described above. See Map Styles and offline bounds guidance.

For R8's optional additions and feature summaries, see Release Notes.