Develop > Presentation layer > Management Center framework > Customize the Management Center user interface > Create a new tool for the Management Center


Add a new tool to the Management Center menu

As part of creating a new custom tool for the Management Center, add it to the Management Center menu so that business users can open the tool.


Procedure

  1. Open WebSphere Commerce Developer and switch to the Enterprise Explorer view.

  2. In the Enterprise Explorer view, expand LOBTools > WebContent > WEB-INF > src > lzx > commerce > shell > ApplicationMenuItems.lzx. The lzx/commerce/shell/ApplicationMenuItems.lzx/wcfApplicationMenuItems class defines all the Management Center menu options.

  3. Add a new instance of wcfApplicationMenuItem to ApplicationMenuItems.lzx. For example:

    <wcfApplicationMenuItem
    id="myTool"
    width="300"
    height="25"
    activeIconSrc="myToolActiveTabIcon"
    inactiveIconSrc="myToolInactiveTabIcon"
    displayName="My Tool"
    objectClass="myToolClass"
    usage="myToolUsage"
    actionName="openBusinessObjectEditor" />
    

  4. Configure a new usage keyword. (Refer to the steps described in the Noun OnlineStore topic).

  5. Update the usage attribute with the role you want. For example, to change the Catalogs tool from role (IBM_CatalogTool) to a new role called My_CatalogTool:

    <wcfApplicationMenuItem
            id="catalogManagement"
            width="${parent.width}"
            ...
            usage="My_CatalogTool"
            actionName="viewCommandOnSelect" />
    


What to do next

After you complete the work:

  1. Right-click LOBTools Project; then click Build OpenLaszlo Project to produce an updated ManagementCenter.swf file under the WCDE_INSTALL\workspace\LOBTools\WebContent directory. This is the default environment setting.

  2. Test the work by viewing them in the Management Center, using this URL: https://hostname:8000/lobtools.

  3. Deploy your files to the production environment.


Related concepts

Management Center user interface


Related tasks

Create a new tool for the Management Center


+

Search Tips   |   Advanced Search