How to open another page instead of Role Center when launching Business Central (Automatically skip the Role Center page)
This post explains how to bypass the Role Center and open a different page automatically when users launch Business Central. It covers the limitations of Role Centers (no triggers allowed), demonstrates using the OnRoleCenterOpen event from Conf./Personalization Mgt. codeunit, and provides a code example that opens the Sales Order List instead of the default Role Center.

post Dynamics 365 Lab
"A page of type Role Center cannot have triggers."
Key points
- Role Center pages cannot have triggers or respond to OnOpenPageEvent
- The OnRoleCenterOpen event in codeunit 9170 allows code execution after Role Center opens
- Users can navigate directly via URL as a workaround, but this fails for Windows and mobile apps
- Performance may suffer if Role Center has heavy content; minimize or leave it empty for best results
Quotes
- “A page of type Role Center cannot have triggers.” (Establishes the core constraint that prevents direct Role Center manipulation and necessitates alternative approaches like event subscribers)
- “codeunit 9170 “Conf./Personalization Mgt.” -> OnRoleCenterOpen(): Although it cannot completely replace Role Center, you can perform some processing immediately after opening Role Center.” (Identifies the only viable event-based solution for executing code at Role Center startup to achieve the page redirect goal)
AL objects mentioned
As named in the post. A name that matches one object page by exact type and name links to it; the others stay as named.
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Dynamics 365 Business Central: How to get current Profile (Role) info (Profile ID, Display Name, Source, Role Center ID, etc.) via AL — possibly related: both name Codeunit 9170 “Conf./Personalization Mgt.”
- Dynamics 365 Business Central: How to show more than 999+ in Cue on Role Centers (Show actual numbers instead of 999+) — possibly related: both name Page 9305 “Sales Order List”
- Microsoft presents: Introducing M365 Copilot Chat in Business Central — possibly related: both name Page 9305 “Sales Order List”
- What’s Cooking in Business Central: Delivering Analysis Views in AL Extensions — possibly related: both name Page 9305 “Sales Order List”
- What’s New: Data Analysis (2025 release wave 1) — possibly related: both name Page 9305 “Sales Order List”
- What’s New: Enhanced Sales Analytics (2026 release wave 1) — possibly related: both name Page 9305 “Sales Order List”
Heads up
- warning: “A page of type Role Center cannot have triggers.” (about page Role Center)
- gotcha: “Although you can write the code in codeunit and use OnOpenPageEvent, it will not prompt an error, but it will not have any effect.” (about OnOpenPageEvent)
Context
- Features: Role Center customization, OnRoleCenterOpen event, automatic page navigation, event subscriber pattern
Source: Dynamics 365 Lab - Yun Zhu, community blog. Summary, key points and quotes are derived (CONTENT-NOTICE.md); read the original for the full text.