AL
AL copied to clipboard
Unable to extend navigation pane in role center
I'm unable to extend the navigation pane in the default role center in the September release. I would like to add some extra menu items for setting up the extension.
I can add buttons to the action ribbon, but when I try to add them to the Navigation Pane, they just won't appear.
I tried using an action to place it after, and I tried to use the 'embedding' action. Both don't work. My test code:
pageextension 50102 "Business Manager RC Ext" extends "Business Manager Role Center"
{
actions
{
addafter(System)
{
action("TestAction")
{
ApplicationArea = All;
CaptionML = ENU='Test',
NLD='Test';
Image = NonStockItemSetup;
RunObject = page "Business Setup";
RunPageView = sorting(Name) where("Area"=FILTER("System"));
}
}
addlast(Embedding)
{
action("Open my new page")
{
RunObject = page "Customer Bank Account List";
ApplicationArea = All;
}
}
}
}
I don't know what happened, but now it shows my new menu.