topic hubAL Developmentofficial - Microsoftreviewed - checked by Opus

Profiles

Profiles in Business Central cover how to tailor the client to user roles, either in AL with profile, profile extension and page customization objects, or in the web client without code. It answers questions about defining role centers, changing page layout and actions per profile, and moving profiles between environments.

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

Overview

A profile defines the experience for a specific kind of user. In AL, the profile object sets a role center and can point to page customizations that change layout and actions for that profile. The design page explains how profile objects, profile extension objects and page customization objects work together to fit users’ daily tasks, and it also mentions translation of profiles.

The page customization object is a lighter alternative to a page extension. It can add layout and action changes, but it cannot hold variables, procedures or triggers, and it applies only to the role centers you specify. It is described for runtime 16.

If you prefer not to write AL, the client-based page explains how to create profiles and page customizations in the web client, and how to export and import profile packages across environments. A good starting order is the design overview, then the profile object and page customization object references, then the client page if you work without code.

Key points

  • The profile object specifies a role center and optional page customizations through properties such as RoleCenter, Enabled, Promoted and Customizations.
  • Page customization objects add layout and action changes, such as field additions, group management, editable fields and views, for specific profiles.
  • Page customization objects cannot contain variables, procedures or triggers, so extensibility is more limited than page extensions.
  • Page customizations apply only to the role centers specified, and the page notes runtime 16.
  • Profile extension objects are part of profile design alongside profile and page customization objects.
  • Profiles and page customizations can be created in the web client without AL code.
  • Profile packages can be exported and imported to move profiles between environments. The client page is tagged with 2024 release wave 2 (version 25.0).
  • Profile design also covers translating profiles.

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 4 Learn pages