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

Cannot add keyboard shortcut to button

(0) ShareShare
ReportReport
Posted on by 555

Hi experts,

I have made an extension for Business Central cloud.

I would like to add a shortcut key to the "Print Confirmatiton" on the sales order page, but when I try to add the shortcut key "Shift-Ctrl-B", it shows or removes the favourites toolbar in Google Chrome, that I use, when I press it. As I understand https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-shortcutkey-property the Business Central shortcuts should be activated instead of the ones in the browser.

The tooltip gets "(Shift-Ctrl-b)" in the end - with a small "b". That's also weird.

Also I have a new button that I would like to be activated by Shift-Ctrl-F. When I try that, nothing happens and the tooltip does not show the shortcut key.

Here is my code:

pageextension 50124 SalesOrder extends "Sales Order"
{
    actions
    {
        modify("Print Confirmation")
        {
            ShortcutKey = 'Shift-Ctrl-B';
        }

        addafter(AttachAsPDF)
        {
            action(PrintSomething)
            {
                ApplicationArea = All;
                Caption = 'Print something';
                Image = Production;

                Promoted = true;
                PromotedCategory = Category11;
                ToolTip = 'something';
                ShortcutKey = 'Shift-Ctrl-F';

                trigger OnAction()
                begin
                    ...
                end;
            }
        }
    }
}
  • Verified answer
    Morten Steengaard Profile Picture
    555 on at

    The solution was to use "Shift+Ctrl+B" instead of "Shift-Ctrl-B".

  • Suggested answer
    Marco Mels Profile Picture
    Microsoft Employee on at

    Thank you for sharing final solution.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 545 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 354 Super User 2026 Season 2

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 228 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans