Skip to content
Bitta Apps
AL development

Business Central AL Page Design: Patterns That Age Well

Page types, list performance, logic separation and test pages, checked against Microsoft Learn for 2026 release wave 2

A Business Central Customer Card with its action bar highlighted, beside the headline Pages that age well
On this page

Good Business Central page design in AL starts with the user's task: choose the page type that fits the job, extend standard pages instead of copying them, put the fields and actions that decide the task first, keep list triggers inexpensive, and move business logic into codeunits that tests, APIs and job queues can call without a user interface.

This guide is for AL developers and extension reviewers. It covers layout, performance, permissions and testing for 2026 release wave 2 (version 29).

Review inherited pages. Book the free BC Environment Snapshot: one hour on a screen share with a Business Central consultant, then a written summary of your environment within five business days.

A Business Central page is a task surface, not a database-table viewer.

AL provides page objects and page extensions for lists, cards, documents, Role Centers, dialogs, APIs, and other supported experiences. Start with the user's job and choose the page type that matches it.

Prefer extension over replacement

When standard Business Central already owns the record and workflow, use a page extension to add or modify the smallest necessary surface, provided Extensible is true. A replacement page duplicates standard evolution and increases testing after every release. Create a new page when the task, source, or navigation is genuinely distinct. API pages cannot be extended; create a new API page instead.

Choose the page type deliberately

The PageType property sets the type:

Page type

Use it for

List

Scanning, filtering, selecting, and comparing multiple records

Card

Maintaining one master or setup record

Document

Header-and-lines business transactions

ListPart / CardPart

Focused supporting content embedded in another page

Worksheet

Repeated entry and processing across lines

RoleCenter

Cues, navigation, and work entry points for a role

API

A machine contract; do not reuse a UI page for this purpose. See custom API endpoints in AL

Organize around the decision

Put the fields required to identify and act on a record first. Group optional or infrequently changed setup separately. Use captions and tooltips that explain business meaning rather than restating the field name. Since 2024 release wave 1, pages inherit a tooltip defined on the table field unless the page field overrides it. Use actionref in area(Promoted) for promoted actions in new development.

Microsoft's action bar guidance follows familiar Microsoft 365 presentation principles. Avoid adding every action to the promoted area. Scope and importance should determine placement.

Keep list pages inexpensive

Microsoft's performance guidance warns that calculated fields, unnecessary page parts, heavy record triggers, and standard pages reused as lookup or web-service endpoints can add work. For large lists:

  • remove unneeded calculated fields; hiding or disabling a control is not a general performance fix. Since version 26.0, Calculate only visible FlowFields skips automatic calculation for hidden FlowFields when enabled;

  • avoid repeated calculations in OnAfterGetRecord;

  • calculate expensive supporting values on demand or in a page background task when appropriate (these tasks are read-only);

  • use dedicated lookup pages rather than a full list with unrelated FactBoxes and triggers;

  • filter early and load only required data.

Separate UI from business logic

An action trigger should validate the page state and delegate to a codeunit. The codeunit can then be used by a job queue, API, or test without pretending a user interface exists. Guard optional dialogs with GuiAllowed(). Required decisions need explicit rules for unattended execution.

Design for permissions and empty states

Page visibility does not grant permission to execute every action. Define and test the extension's permission sets, then make errors explain the missing business prerequisite without leaking restricted data. Provide useful empty-state guidance when setup or data has not yet been created.

Design for responsive and accessible use

Use meaningful captions, tooltips, groups, and action names. Do not rely on color alone to communicate state. Keep field order and required inputs logical for keyboard navigation. Test at common desktop and narrow client sizes and with realistic translations, because a caption that fits in English may not fit elsewhere.

Test the page and the behavior separately

Use AL test pages for field values, actions, subpages and navigation. They simulate interactions on the server; check visual layout and keyboard behavior in the client. Test the delegated codeunit directly for business rules. See AL test automation with handlers and isolation.

Business Central page design checklist for AL

  1. The page type matches the task.

  2. Standard pages are extended rather than copied without need.

  3. Primary fields and actions reflect user priority.

  4. Triggers do not perform repeated or external heavy work.

  5. Business logic is callable outside the page.

  6. Permissions, empty, error, and loading states are understood.

  7. Keyboard, narrow viewport, translation, and test-page behavior are verified.

Bitta Apps can investigate slow client experiences through Business Central support and separate user workflows from integration contracts.

Next step. If inherited pages feel slow, book the free BC Environment Snapshot: one hour on a screen share with a Business Central consultant, then a written summary of your environment within five business days. For rebuilding or reviewing inherited pages, see AL development services.

FAQ

Frequently asked questions

What page types are available in Business Central AL?

Common PageType values include Card, List, Document, Worksheet, RoleCenter, ListPart, CardPart and ListPlus, plus dialog types such as StandardDialog, ConfirmationDialog and NavigatePage, and API, HeadlinePart, PromptDialog and UserControlHost. Choose the type by the task the user performs, not by the table behind the page. Lists are for scanning and selecting, cards for one record, documents for header and lines, and API pages for machine integrations.

Should I extend or copy a standard Business Central page?

Prefer a page extension when the standard page has Extensible set to true. It adds or overrides only what you need, while a copied page duplicates standard behavior that Microsoft keeps changing, so it needs more testing after every release. Build a new page only when the task, source table or navigation is genuinely different. API pages cannot be extended, so a new API contract needs a new API page.

How do I make a Business Central list page load faster?

Remove unneeded calculated fields and keep OnAfterGetRecord light. Hiding a control is not a general performance fix, although from version 26.0 the Calculate only visible FlowFields feature skips automatic calculation of hidden FlowFields when enabled. Prefer dedicated lookup pages over full lists with unrelated FactBoxes and triggers. Consider read-only page background tasks for expensive supporting values.

When should I use GuiAllowed in AL?

Use GuiAllowed() to guard optional dialogs when code runs in the client, a job queue, a scheduled task or a web service call. Keep business logic outside that check so it still executes without a UI. If a confirmation represents a required business decision, define an explicit rule for unattended execution instead of simply skipping it.

How do I test a Business Central page in AL?

Use a TestPage variable to open the page and simulate the user: read and set field values, including on subpages, apply filters, run actions and move between records. Use ModalPageHandler for modal pages and the appropriate handler for each other dialog. Test business rules directly against codeunits, and inspect visual layout and keyboard behavior separately in the client.

Sources

Claims in this article were checked against the following on Nov 18, 2026.

  1. learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-pages-overview
  2. learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-page-ext-object
  3. learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-pagetype-property
  4. learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-adding-tooltips
  5. learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-actions-user-interface
  6. learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/performance/performance-developer
  7. learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-page-background-tasks
  8. learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/system/system-guiallowed-method
  9. learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-testing-pages
  10. learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/whatsnew/whatsnew-update-29-0
  11. bittaapps.com/blog/business-central-environment-snapshot-one-hour
  12. bittaapps.com/services/al-development
  13. bittaapps.com/blog/custom-api-endpoints-business-central-al
  14. bittaapps.com/blog/al-test-automation-handlers-isolation-upgrade-safe
  15. learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-flowfields
  16. learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-promoted-actions
  17. learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-accessbypermission-property
  18. bittaapps.com/services/support
  19. bittaapps.com/services/integrations

Written by

Mohammad Nour Itani

Founder & Senior Business Central Developer

Related services

Work with Bitta Apps on this

Next step

Talk to a senior Business Central consultant, not a sales rep.

Fixed-price proposal in writing within five business days of discovery.