Adding an OpenLaszlo library to the Management Center

As part of creating a new custom tool for the Management Center, once you have defined all your OpenLaszlo classes, define a single library that includes all the .lzx files that contain OpenLaszlo classes. The Management Center reads this file to understand and recognized all the associated classes for the new tool.

Before you begin

Before you create a library for your new tool, ensure you have created the appropriate OpenLaszlo classes. See Creating a new tool for the Management Center.


  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 > your_company_name > Management_Center_component, where Management_Center_component is the name of your new custom tool.
  3. Create an OpenLaszlo library file with this syntax: Management_Center_componentname in camel caseLibrary.lzx. For example, CatalogLibrary.lzx.
  4. Within the library file, include all the .lzx files that you created for the new tool, which contain OpenLaszlo classes. Refer to WCDE_installdir\workspace\LOBTools\WebContent\WEB-INF\src\lzx\commerce\catalog\CatalogLibary.lzx as an example.
  5. Define your new library file so that the Management Center recognizes the new tool:
    1. In the Enterprise Explorer view, expand LOBTools > WebContent > WEB-INF > src > lzx > commerce > shell
    2. Double-click the ShellExtensionsLibarary.lzx to edit it.
    3. Include your new library file in the file. For example:
      		Import the library of the My Custom New tool.
      <include href="../newtool/NewToolLibrary.lzx" />

What to do next

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