Saturday, March 01, 2008

Displaying the traditional Main Menu in AX

If you don't like the new Navigation Pane from Dynamics AX, you can turn on the traditional Main Menu dialog by changing the SysUserSetup form that allows you to specify the Startup Menu item. Open the SysUserSetup form from the AOT, go to method buildStartupMenuCombo, line 56, and change it as:
//if( ! mainMenuItems.in(object.treeNodeName()) )
if ((!mainMenuItems.in(object.treeNodeName())) || (object.AOTname() == "MainMenu"))
Now, you can open the Options dialog and set the Main Menu as the Startup Menu item.

3 comments:

AsSha said...

Thank you very much, Oscar! This was very helpful for me in AX40. I also use AX2009 and have no found the method called buildStartupMenuCombo in the SysUserSetup form from the AOT. Is this means that in AX2009 I can't use classic MainMenu form?

Oscar Londono said...

In AX 2009 the user inteface was changed drastically, so it is not posible to use the classic menu, because Menus are not a runable object now.

Aslan said...

Thanks!


View My Stats