topic hubAL Developmentofficial - Microsoftreviewed - checked by Opus

Development

Development in Business Central covers AL extension development: setting up VS Code, the AL language, extensibility, data analytics, best practices, the extension lifecycle, AL-Go for GitHub, and troubleshooting. It answers how-to, setup, design, deployment and diagnostic questions for AL developers.

Path: Development · tier official · system development · narrative reviewed (checked by Opus)

Overview

Development is the top-level section for building Business Central extensions in AL with Visual Studio Code. Its own pages give the entry points: an introduction to developing extensions in AL (extension model, table and page extensions, snippets, compiler validation, Designer), an AL Language reference overview (data types, methods, properties, diagnostics, code analyzers), and an overview of AL-Go for GitHub for CI/CD and automated testing.

The subtopics follow a typical developer path. Start with Get started and Development environment to set up VS Code, build a first extension, then compile, publish, debug and test. Programming in the AL language and The AL programming language cover syntax and objects. Extensibility explains how to change application behavior without modifying base code. System and application reference describes the layered architecture, and Data analytics and reporting covers Excel and Power BI.

Rules, guidelines, and best practices, Extension lifecycle and Troubleshooting cover the later stages: deprecation, performance and security practices, deployment, updates, hotfixes, migration, and diagnosing errors, slow performance and locks.

Key points

  • Get started (29 pages) covers VS Code and AL Language extension setup, a first extension, editor tools, translations, runtime packages, ALTool and AppSource publishing.
  • Development environment (54 pages) covers projects, workspaces, compiling, publishing, debugging, testing, sandboxes and app manifests.
  • Programming in the AL language (340 pages) is the largest area: syntax, tables, pages, reports, events, error handling, security, background tasks, APIs, external calls and .NET.
  • Extensibility (42 pages) covers extending tables, pages, reports, enums and permission sets, events, client add-ins, and requesting extensibility points.
  • AL-Go for GitHub provides templates and actions for CI/CD, automated testing and version control for per-tenant extensions or Marketplace apps.
  • System and application reference describes the System Application and Business Foundation layers and how to contribute modules in the BCApps repository.
  • Extension lifecycle covers extension types and scopes (global, per-tenant, DEV), deployment, updates, hotfixes, migration and deprecation.
  • Troubleshooting covers in-client diagnostics, AL debugging and profiling, Application Insights telemetry and troubleshooting guides.

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 11 objects with no object page: page/9830, page/9831, 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 522 Learn pages

Show 32 more