---
id: post/yzhums-com/66410
type: post
title: How to open another page instead of Role Center when launching Business Central (Automatically skip the Role Center page)
summary: 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.
tier: community
language: en
tags:
  - role center
  - customization
  - page navigation
  - startup behavior
  - event handling
system: sales
review:
  state: reviewed
  by: opus
  at: "2026-10-26T06:42:40.085Z"
  flags: []
generated:
  at: "2026-10-26T05:51:10.938Z"
  pipeline: 0.2.0
  prompts:
    extract-post: 1
  input_hash: c0d9b0421c126368661049087726bd5525855599307257dc0d560e1cc1193997
evidence:
  - kind: blog
    url: https://yzhums.com/66410/
    title: How to open another page instead of Role Center when launching Business Central (Automatically skip the Role Center page)
    date: "2025-08-05"
    commit: null
    t: null
    quote: null
  - kind: blog
    url: https://yzhums.com/66410/
    title: How to open another page instead of Role Center when launching Business Central (Automatically skip the Role Center page)
    date: "2025-08-05"
    commit: null
    t: null
    quote: A page of type Role Center cannot have triggers.
  - kind: blog
    url: https://yzhums.com/66410/
    title: How to open another page instead of Role Center when launching Business Central (Automatically skip the Role Center page)
    date: "2025-08-05"
    commit: null
    t: null
    quote: 'codeunit 9170 "Conf./Personalization Mgt." -> OnRoleCenterOpen(): Although it cannot completely replace Role Center, you can perform some processing immediately after opening Role Center.'
links:
  learn: []
  objects:
    - object/page/9305
    - object/codeunit/9170
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  related:
    - to: post/yzhums-com/68731
      title: "Dynamics 365 Business Central: How to get current Profile (Role) info (Profile ID, Display Name, Source, Role Center ID, etc.) via AL"
      label: possibly related
      why: both name Codeunit 9170 "Conf./Personalization Mgt."
      by: code
    - to: post/yzhums-com/62936
      title: "Dynamics 365 Business Central: How to show more than 999+ in Cue on Role Centers (Show actual numbers instead of 999+)"
      label: possibly related
      why: both name Page 9305 "Sales Order List"
      by: code
    - to: video/YX9UfUF0EsA
      title: "Microsoft presents: Introducing M365 Copilot Chat in Business Central"
      label: possibly related
      why: both name Page 9305 "Sales Order List"
      by: code
    - to: video/jqVt0hYDfz0
      title: "What's Cooking in Business Central: Delivering Analysis Views in AL Extensions"
      label: possibly related
      why: both name Page 9305 "Sales Order List"
      by: code
    - to: video/Rh1AFX9A1x4
      title: "What's New: Data Analysis (2025 release wave 1)"
      label: possibly related
      why: both name Page 9305 "Sales Order List"
      by: code
    - to: video/fJGY6d-2lO8
      title: "What's New: Enhanced Sales Analytics (2026 release wave 1)"
      label: possibly related
      why: both name Page 9305 "Sales Order List"
      by: code
post_id: "66410"
source_id: yzhums-com
source_name: Dynamics 365 Lab - Yun Zhu
url: https://yzhums.com/66410/
published_at: "2025-08-05T00:42:31.000Z"
author: Yun Zhu
full_text: false
words: 488
quotes:
  - text: A page of type Role Center cannot have triggers.
    why_it_matters: Establishes the core constraint that prevents direct Role Center manipulation and necessitates alternative approaches like event subscribers
  - text: 'codeunit 9170 "Conf./Personalization Mgt." -> OnRoleCenterOpen(): Although it cannot completely replace Role Center, you can perform some processing immediately after opening Role Center.'
    why_it_matters: Identifies the only viable event-based solution for executing code at Role Center startup to achieve the page redirect goal
code_objects_mentioned:
  - page Sales Order List
  - codeunit Conf./Personalization Mgt.
systems:
  - sales
  - administration
  - platform
versions_mentioned: []
cautions:
  - kind: warning
    quote: A page of type Role Center cannot have triggers.
    objects:
      - type: page
        name: Role Center
    events: []
    versions: []
  - kind: gotcha
    quote: Although you can write the code in codeunit and use OnOpenPageEvent, it will not prompt an error, but it will not have any effect.
    objects: []
    events:
      - OnOpenPageEvent
    versions: []
preview:
  embeddable: true
  frame_url: null
  image: https://yzhums.com/wp-content/uploads/2025/08/Snipaste_2025-08-04_16-52-44.png
  image_alt: null
  image_w: null
  image_h: null
  site_name: Dynamics 365 Lab
  favicon: https://yzhums.com/wp-content/uploads/2020/08/cropped-logo-3-32x32.png
  probed_at: "2026-10-26T06:17:04.539Z"
---

# How to open another page instead of Role Center when launching Business Central (Automatically skip the Role Center page)

[Read the post](https://yzhums.com/66410/) · Dynamics 365 Lab - Yun Zhu (Yun Zhu, MVP) · 2025-08-05 · 488 words · tier community · reviewed (checked by Opus)

> 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.

## 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.

- [page 9305 "Sales Order List"](../../objects/page/9305.md)
- [codeunit 9170 "Conf./Personalization Mgt."](../../objects/codeunit/9170.md)

## 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](../../posts/yzhums-com/68731.md) — 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+)](../../posts/yzhums-com/62936.md) — possibly related: both name Page 9305 "Sales Order List"
- [Microsoft presents: Introducing M365 Copilot Chat in Business Central](../../videos/YX9UfUF0EsA.md) — possibly related: both name Page 9305 "Sales Order List"
- [What's Cooking in Business Central: Delivering Analysis Views in AL Extensions](../../videos/jqVt0hYDfz0.md) — possibly related: both name Page 9305 "Sales Order List"
- [What's New: Data Analysis (2025 release wave 1)](../../videos/Rh1AFX9A1x4.md) — possibly related: both name Page 9305 "Sales Order List"
- [What's New: Enhanced Sales Analytics (2026 release wave 1)](../../videos/fJGY6d-2lO8.md) — 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.
