Adding a new tool to the Management Center menu

As part of creating a new custom tool for the Management Center, you must 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. Complete one of the following steps:
  3. Complete one of the following steps:
    OptionDescription
    WebSphere Commerce Version 7.0.0.0Feature Pack 1Add a new instance of wcfApplicationMenuItem to ApplicationMenuItems.lzx WebSphere Commerce Version 7.0.0.0Feature Pack 1For example:
    <wcfApplicationMenuItem
    id="myTool"
    width="300"
    height="25"
    activeIconSrc="myToolActiveTabIcon"
    inactiveIconSrc="myToolInactiveTabIcon"
    displayName="My Tool"
    objectClass="myToolClass"
    usage="myToolUsage"
    actionName="openBusinessObjectEditor" />
    Introduced in Feature Pack 2Add a new ApplicationMenuItem element to the wcfApplicationMenuItems definition Introduced in Feature Pack 2For example:
    <ApplicationMenuItem
    	id="myTool"
    	activeIconSrc="myToolActiveTabIcon"
    	inactiveIconSrc="myToolInactiveTabIcon"
    	displayName="My Tool"
    	toolDefinitionName="myToolClass"
    	usage="myToolUsage"
    	actionName="openBusinessObjectEditor" />
  4. Configure a new usage keyword. (Refer to the steps described in the Noun OnlineStore topic).

What to do next

After you complete your customization:
Version Steps
  1. Right-click LOBTools Project; then click Build OpenLaszlo Project to produce an updated ManagementCenter.swf file under the workspace_dir\LOBTools\WebContent directory. This setting is the default environment setting.
  2. Test your changes by viewing them in the Management Center, using this URL: https://hostname:8000/lobtools.
  3. Deploy your changes to your production environment.
Introduced in Feature Pack 2
  1. Test your changes by viewing them in the Management Center, using this URL: https://hostname:8000/lobtools.
  2. Deploy your changes to your production environment.