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
- Open WebSphere Commerce Developer and switch to the Enterprise Explorer view.
- 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.
- 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" />
- Configure a new usage keyword. (Refer to the steps described in the Noun OnlineStore topic).
- 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:
- 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.
- Test the work by viewing them in the Management Center, using this URL: https://hostname:8000/lobtools.
- Deploy your files to the production environment.
Related concepts
Management Center user interface
Related tasks
Create a new tool for the Management Center