topic hubAL Developmentofficial - Microsoftunreviewed - model text not yet checked

Extension lifecycle

Extension lifecycle in Business Central covers the phases of an extension from development to deprovisioning, extension types and scopes (global, per-tenant, DEV), and moving apps between scopes. It answers questions about testing, translation, deployment, updates, hotfixes, migration and deprecating code.

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

Overview

The extension lifecycle section describes the full path of a Business Central extension: planning, development, testing, deployment, operations and monitoring, through to deprovisioning. The overview page gives the big picture. Start there, then read the pages on extension types and scope.

Extension types define where an app can run. Global apps are installed from Marketplace, per-tenant extensions (PTE) go to specific environments, and DEV extensions are for sandbox development only. A further page explains how to move an app between PTE, DEV and Marketplace scopes, including identity, naming and ID range requirements.

The subtopics cover each stage in more detail: testing, translation with XLIFF, deploying and installing, updating and hotfixing, and deprecating code. Two more cover migration: generating .delta files for conversion to extensions, and moving tables and fields between extensions on-premises.

Key points

  • Extension types: global apps from Marketplace, per-tenant extensions for specific environments, and DEV extensions for sandbox development only.
  • Moving between scopes (PTE, DEV, Marketplace) has identity, naming and ID range requirements for each transition. The page lists 2023 release wave 2.
  • Testing uses AL test codeunits, test methods, test pages, handler methods and test runners. It also covers the Performance Toolkit and Marketplace testing expectations.
  • Deploying and installing covers publish, sync, install, upgrade, unpublish and uninstall, install code, and submitting offers in Partner Center.
  • Updating and hotfixing covers versioning, validation, breaking changes, upgrade code, data migration during upgrades, and Marketplace update submission.
  • Deprecating code uses preprocessor directives and Obsolete properties. It covers CLEAN symbols, warnings AL0604 and AL0606, the removal timeline, and deprecation of ‘with’ statements.
  • Translation uses XLIFF files. Layered sources override each other by language priority and app dependencies.
  • On-premises migration covers Compare-NAVApplicationObject for .delta files, and moving tables and fields with MovedTo and MovedFrom (move-down, move-up and lateral moves).

Subtopics

More 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.

Business Central pages and reports

The pages, reports and queries this hub’s Learn pages name (ms.search.form, API reference), joined to the code by exact object id (data/index/docs-objects.json); a page shows the table it runs on.

Learn also names 9 objects with no object page: page/149000, page/149001, page/149003, page/149004, page/149005, page/149006, page/149007, page/149008, page/149009.

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

What Learn documents here 8 of 35 Learn pages

Show 27 more