topic hubAL Developmentofficial - Microsoftunreviewed - model text not yet checked

Updating and hotfixing

Updating and hotfixing covers how Business Central apps and extensions are maintained after release: lifecycle behavior, upgrade code, Marketplace update submission, and hotfixes. It answers questions about versioning, validation, breaking changes, and data migration during upgrades.

Path: Development > Extension lifecycle > Updating and hotfixing · tier official · system development · narrative unreviewed (model text not yet checked)

Overview

This section explains what happens to apps and extensions over time and what partners must do to keep them working. It starts with the lifecycle of apps and extensions: how apps behave through service updates, app updates, bug fixes and breaking changes, which maintenance duties fall to partners, and how Microsoft tests compatibility.

For the technical side of moving to a new version, the upgrade page describes upgrade codeunits, their triggers, extension version data and upgrade tags that stop code from running twice. For Marketplace apps, two FAQ pages cover submitting updates, validation, previews, update cadence and customer availability. A separate page covers hotfixing a non-latest version and the breaking change rules that apply.

Start with the lifecycle page for the overall model. Then read the upgrade page if you write upgrade code, or the FAQs and the hotfix page if you publish and maintain Marketplace apps.

Key points

  • The lifecycle page covers app behavior through service updates, app updates, bug fixes, critical bugs and breaking changes, plus extension data retention.
  • Partners are responsible for maintaining their apps, and Microsoft runs compatibility testing.
  • Upgrade code lives in upgrade codeunits with the triggers OnCheckPreconditionsPerCompany, OnUpgradePerCompany and OnValidateUpgradePerCompany.
  • Upgrade tags are optional and prevent upgrade code from running more than once. ExecutionContext can be checked for sensitive code.
  • Extension version data (AppVersion, DataVersion) and the Publish-NAVApp and Sync-NAVApp cmdlets are part of the upgrade process.
  • A Marketplace hotfix is a submission of a non-latest version. The service validates it against existing versions and enforces breaking change restrictions, including public API constraints and obsolete marking.
  • The FAQs cover automated technical validation, Marketplace app previews and preview installation URLs, the Apps Update Cadence, publisher signoff, Schema Sync Mode and AppSourceCop checks.
  • The FAQs also cover app versioning, app identity management and how updates reach customers.

Learn pages

Videos, posts and code changes

Linked by a Haiku matcher with a grounding quote from the item’s summary (link/topics.ts); machine-generated.

Source: Microsoft Learn (CC BY 4.0). Descriptions are Learn’s own.

What Learn documents here 6 Learn pages