How to Add a Hyperlink to a Role Center in Business Central
Sometimes, you may want to quickly add a button on the Role Center page that opens an external website (e.g., company portal, Microsoft docs, etc.). This can be done by extending the Role Center and adding a custom action that uses the Hyperlink system function in AL. Code Example Codeunit codeunit 50100 URLDisplay { trigger OnRun() begin Hyperlink('https://www.microsoft.com/en-us/dynamics-365/products/business-central'); end; } Page extension pageextension 50100 MyExtension extends "Business Manager Role Center" { actions { addbefore("Sales Quote") { action(AddHyperlink) { Caption = 'URL Display'; ApplicationArea = All; ...