topic hubAL Developmentofficial - Microsoftreviewed - checked by Opus

Pages

Pages in AL for Business Central: page objects and extensions, page types (Card, List, Document, parts, PromptDialog, ConfigurationDialog, NavigatePage), layout controls, FactBoxes, tooltips, discoverability, tiles, Power BI embedding and onboarding tips. Answers how to design, lay out and extend pages.

Path: Development > Programming in the AL language > Pages and the user interface > Pages · tier official · system development · narrative reviewed (checked by Opus)

Overview

This section covers how to build the user interface of Business Central in AL. It starts with the basics: the Pages overview, Page object, Page types and layouts, and Page extension object. These explain page types, the SourceTable property, layout areas, actions and how to extend existing pages with keywords such as addlast and modify.

Design pages then cover specific types and layout controls. Card, document and list pages, the simple card and list examples, repeater controls, indented hierarchy lists and tiles (Brick field groups) handle records. FastTabs, the grid control and the fixed control handle field arrangement. Page parts (CardPart, ListPart, HeadlinePart, Power BI report parts) and FactBoxes embed related data. Further pages cover field formatting, tooltips, custom filter tokens, rich text and assisted setup guides.

A third group covers helping users find and learn the UI: Tell me, page discoverability, teaching tips and tours. Newer page types for Copilot and agents (PromptDialog, prompt guides, error handling in prompt dialogs, ConfigurationDialog) are also here. Start with Pages overview and Page types and layouts, then go to the page type or control you need.

Key points

  • Core objects: Page object and Page extension object (addfirst, addlast, addafter, addbefore, modify, move keywords); page types include Card, List, Document, RoleCenter, Worksheet and dialogs.
  • Layout controls: FastTabs with the Importance property, the grid control (GridLayout), the fixed control for matrix-like statistics, and repeater controls (Width, FreezeColumn, IndentationColumn).
  • Page parts: CardPart, ListPart, HeadlinePart and Power BI report parts embed data from other tables; FactBoxes use SubPageLink and SubPageView to pass context.
  • Lists can show indented hierarchies (indentationcolumn, showastree, treeinitialstate) and tiles defined by a Brick field group; DropDown field groups control dropdown content.
  • Tooltips defined on table fields are inherited by pages from 2024 release wave 1 and can be overridden on page fields (CodeCop rule AA0234).
  • Discoverability: set UsageCategory and AdditionalSearchTerms for Tell me; use teaching tips (AboutTitle, AboutText) and tours for onboarding.
  • Copilot and agent pages: PromptDialog (runtime 12.1) with prompt guides and inline error display (2024 release wave 2), and the preview ConfigurationDialog with AgentSetupPart.
  • Other topics: field formatting with AutoFormatType and DecimalPlaces, custom filter tokens via OnResolveTextFilterToken, Rich Text editor, assisted setup guides with NavigatePage, and embedding Power BI reports.

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 8 of 33 Learn pages

Show 25 more