Skip to Content
avatar image
Former Member

UI: Adding menu options to the Command Centre

I would like to add more menu items/options to the Business One command centre. I have looked at the XML code for this form and it looks very complex. Is there a way to easily add menu items to the command centre?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    May 13, 2004 at 07:27 AM

    Hi,

    Adding Menu items to the main menu (Command Centre) can be done easily using the SAP Business One SDK UI API.

    Here is a VB sample code that describes how easy it is to add menu items via UI API:

    Set oMenus = SBO_Application.Menus

    Set oMenuItem = oMenus.Add("MyMenu1", "User Forms", mt_POPUP, oMenus.Count)

    Set oMenuItem = oMenus.Add("MyMenu2", "User Form", mt_STRING, 0)

    Regards,

    Yaniv G.

    SDK Consultant,

    SAP Manage Israel.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 29, 2004 at 04:50 PM

    Hello Lita,

    The possibility to add a graphic/icon to a menu item is currentlyu planned for Version 6.7.

    Regards,

    Lisa Mulchinock

    SAP SDK Support Consultant

    Add comment
    10|10000 characters needed characters exceeded