BCQuality rule · uiAL Developmentofficial - Microsoftderived - from the source, no model text

Pages must match one of Business Central's page-type conventions

Business Central's page types — RoleCenter, Card, List, CardPart, ListPart, Worksheet, Document, ListPlus, plus system dialog/special types such as NavigatePage, ConfirmationDialog, StandardDialog, HeadlinePart, and API (a selected list of conventional types this article covers design conventions…

Rule on GitHub · microsoft layer · ui · BC all · tier official · derived

Description

Business Central’s page types — RoleCenter, Card, List, CardPart, ListPart, Worksheet, Document, ListPlus, plus system dialog/special types such as NavigatePage, ConfirmationDialog, StandardDialog, HeadlinePart, and API (a selected list of conventional types this article covers design conventions for — not an exhaustive catalogue of every current PageType value; PromptDialog, ConfigurationDialog, UserControlHost, and XmlPort also exist but follow their own design rules, out of scope here) — each fix a naming pattern and a structural constraint, not just a visual layout. A page whose name, primary-key handling, or linkage (CardPageID, SubPageLink, AutoSplitKey) doesn’t match its own type’s conventions is either the wrong page type for the job or built inconsistently with the rest of the application, and should be flagged in review even if it compiles and renders. Before naming a new page or wiring its links, first ask which page type it is, and whether the source table actually fits that type’s structural requirement — the type fixes the naming suffix, which fields are visible, and which other page it must link back to.

Best Practice

Match the page’s design to its type:

  • RoleCenter — tailored home page for a role; named role + Role Center; links to List pages, shows Cues/Activities.
  • Card — view/edit one record; named table + Card; FastTabs only, first FastTab named General. A single-field primary key is typical, but not a hard requirement: a subsidiary table that supplements a master record with its own identity (parent key + own code — Ship-to Address, Customer/Vendor Bank Account) commonly gets its own Card page over a composite key too. Treat the key shape as a contextual signal, not a mandatory constraint — a composite-key table with no such supplementing relationship to a master record is the actual signal a List/Worksheet/Tabular page fits better.
  • List — view multiple records, also the lookup/drilldown surface; named table + List if read-only, or the plural table name if editable; primary-key fields shown left-most; CardPageID must point at the associated Card page when one exists.
  • CardPart — single-column FactBox; named for its content + FactBox.
  • ListPart — multi-column FactBox or subpage (e.g. document lines); named for its content + FactBox/SubPage; SubPageLink must actually filter to the host record.
  • Worksheet — multi-record entry for a Journal-like table, insertion order preserved; primary-key fields never shown; uses AutoSplitKey with a trailing Integer key field.
  • Document — FastTabs plus a lines subpage, lines filtered to the header; named for the document (Sales Invoice).
  • ListPlus — like Document but with multiple lists instead of one; named like the record/report it summarizes.
  • System dialog types (NavigatePage, ConfirmationDialog, StandardDialog, HeadlinePart) are fixed shapes with no page-name suffix convention. API pages follow their own property rules and are extended by adding a new API page, never a page extension.

Before wiring controls, the design step should fix: which users and tasks the page serves, the concrete fields/commands/links those tasks need, the page type that matches the content (chosen before the source table), and the source table that actually holds the page’s primary data.

See sample: page-design-must-match-bc-page-type-conventions.good.al.

Anti Pattern

A page that mixes conventions from two types — for example, a “List” page with no CardPageID even though a Card page exists for the same table — signals a design step was skipped, not a stylistic choice. A Card page over a composite-key table is not automatically this anti pattern; check whether the table supplements a master record first. Also watch for a Worksheet or List page showing primary-key fields it shouldn’t (or hiding them when it should show them). A page with no UsageCategory set is not automatically a defect either: supporting pages, subpages, dialogs, and pages intended only to be reached through another workflow correctly have no UsageCategory — flag its absence only on a page intended as a searchable entry point in its own right.

See sample: page-design-must-match-bc-page-type-conventions.bad.al.

Examples

Changed by


From microsoft/BCQuality at aaaf6c1, MIT License, Copyright (c) 2026 Microsoft Corporation (license).