web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Development possible for specific page layout (field sorting/visibility) against specific Profile ?

(5) ShareShare
ReportReport
Posted on by 25
Hello everyone
 
I have a question regarding page customization tied to a specific Profile (Role) in Business Central.
  • From a technical / development perspective, is it possible to implement code-based that customize the layout of pages (such as field order, visibility) for one specific Profile only, without impacting other Profiles.
  • How complex could it be ?
Practical silly example:
Accountant Profile : have the Sales Order List with the "Sell-to Customer Name" positioned after the "Location Code"
All other Profiles are showing the normal field sorting
 
ps: today we do it manually via the Profile (Roles) => "Customize Pages" but I am curious to know what could be done there with development.
 
Thank you for the help there !
I have the same question (0)
  • Verified answer
    YUN ZHU Profile Picture
    99,324 Super User 2026 Season 1 on at
    Hi, This is the purpose of the Page customization object.
     
    I've also briefly discussed some of the updates, and I hope that will give you some hints.
    Business Central 2023 wave 2 (BC23): Ability to define fields in page customizations (Add new fields in Page Customization Object)
    Business Central 2024 wave 2 (BC25): Defining a positive list of elements in page customizations (Hide all actions/layout elements/views on the page)
    Business Central 2025 wave 2 (BC27): Editable fields in page customizations
     
    Thanks
    ZHU
  • Verified answer
    Levi B Profile Picture
    24 on at
    Yes, its quite easy to do this in code. First create your customization:
     
    pagecustomization "Sales Order Custom" customizes "Sales Order List"
    {
        layout
        {
            moveafter("Location Code"; "Sell-to Customer Name")
        }
    }
     
    Then, extend the relevant profile:
     
    profileextension "Accountant" extends "ACCOUNTANT"
    {
        Customizations = "Sales Order Custom";
    }
     
    And you're done!
  • Verified answer
    OussamaSabbouh Profile Picture
    13,323 Super User 2026 Season 1 on at
    Hello,
    Yes, this is possible in AL, but not with a normal page extension. A page extension affects everyone, while profile-specific layout changes must be done with pagecustomization and then linked to a profile or profileextension. So for your example, you can create a customization for the Accountant profile only, move/hide fields there, and other profiles will keep the standard layout. Complexity is low to medium for simple things like field order, visibility, actions, and views. The main limitation is that page customization is only for layout/UI, not business logic: you can’t add triggers, variables, or code there. Also, if users later personalize the page manually, their personalization can override the profile customization.
     
    Regards,
    Oussama Sabbouh
  • JDJC-BC Profile Picture
    25 on at
    Thank you all for your answer and tips, that's what I was looking for. 
    Have a good day !
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,823 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,011 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 628 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans