topic hubAL Developmentofficial - Microsoftreviewed - checked by Opus

Pages

Pages in AL for Business Central: page types and layouts, card, list, part and dialog pages, field arrangement and formatting, FactBoxes, tooltips, discoverability, page extensions, and Copilot PromptDialog pages. It answers how to design, build and extend pages and their user assistance.

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-facing pages of Business Central in AL. It starts with the basics (Pages overview, Page object, Page types and layouts, Page extension object) and then covers specific page types: card and document pages, list pages, ListPart, CardPart and HeadlinePart parts, NavigatePage setup guides, PromptDialog and ConfigurationDialog.

Further pages cover layout and field behavior: FastTab arrangement, grid and fixed controls, repeaters, indented hierarchies, tiles and field groups, field formatting, rich text, and embedded Power BI reports. A third group covers user assistance and findability: tooltips, teaching tips and tours, Tell me, page discoverability, and custom filter tokens.

Start with Pages overview and Page Types and Layouts. Then use the simple card and list page examples as templates, and move to the topic pages for parts, dialogs or layout as needed.

Key points

  • Page types include Card, Document, List, Worksheet, RoleCenter, NavigatePage, PromptDialog and ConfigurationDialog (preview); Page extension objects use addfirst, addlast, addafter, addbefore, modify and move keywords.
  • Parts (ListPart, CardPart, HeadlinePart, Power BI report parts) embed in other pages; FactBoxes in the right pane are filtered with SubPageLink or SubPageView.
  • Layout options: FastTabs with Importance-based promotion (one to three columns), grid control with GridLayout, a read-only fixed control for matrix layouts, and repeaters with Width and FreezeColumn.
  • Indented hierarchies use IndentationColumn, IndentationControls, ShowAsTree and TreeInitialState; tile view uses a Brick field group, and DropDown field groups control dropdowns.
  • Tooltips set on table fields inherit to pages from 2024 release wave 1 and can be overridden on the page; CodeCop rule AA0234 applies.
  • Tell me discoverability depends on UsageCategory, with AdditionalSearchTerms to improve it; teaching tips use AboutTitle and AboutText.
  • PromptDialog pages (runtime 12.1) have Prompt, Content, PromptOptions, SystemActions and PromptGuide areas, and from 2024 release wave 2 show errors inline.
  • Field formatting uses AutoFormatType, AutoFormatExpression and DecimalPlaces; custom filter tokens resolve through the OnResolveTextFilterToken event.

Learn pages

Key facts from Microsoft Learn (CC BY 4.0), in our own words (D106); open the page for the full text.

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