Adding a new library to the Management Center

If you create new OpenLaszlo library files as part of your Management Center customization, include them in the extensions library for the tool you are changing.

About this task

To add a new library file to 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 > commerce > Management_Center_component, where Management_Center_component is the name of the tool you want to customize.
  3. Open the extensions library file. All tool extensions library files follow this syntax: Management_Center_componentExtensionsLibrary.lzx. For example, CatalogExtensionsLibrary.lzx.
  4. Within the extensions library file, include all the .lzx library files that you created as part of your customization. The path for each include element must be relative to the extensions library file's location. For example, if you added a library file for the Catalogs tool, your include element would be similar to this:
    <include href="../../myCompanyName/catalog/MyCatalogExtensionClass.lzx" />

What to do next

After you complete your customization:
  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.