Develop > Presentation layer > Management Center framework > Customize the Management Center user interface > Customizing an existing Management Center tool > Catalogs tool


Display hidden tabs and fields in the Catalogs tool

You can display hidden tabs or fields in the Catalogs tool if the business needs have changed and a new field or tab is required. For example, if gather inventory information, you can display the inventory tab.


Procedure

  1. Decide which fields or tabs to display. The inventory tab and the fields located in the Publishing and Additional Information sections can be displayed.

  2. Navigate to the following directories to locate the files needed to display the new information:

    1. WCDE_INSTALL\workspace\LOBTools\WebContent\WEB-INF\src\lzx\commerce\catalog\listViewDefinitions This directory contains the CatalogEntryGrid.lzx andCategoryGrid.lzx files.

    2. WCDE_INSTALL\workspace\LOBTools\WebContent\WEB-INF\src\lzx\commerce\catalog\objectDefinitions. This directory contains the KitPrimaryObjectDefinition.lzx, ProductPrimaryObjectDefinition.lzx, and CatalogEntryPrimaryObjectDefinition.lzx files.

    3. WCDE_INSTALL\workspace\LOBTools\WebContent\WEB-INF\src\lzx\commerce\catalog\propertiesViews. This directory contains the CatalogPropertyPane.lzx, CategoryPropertiesView.lzx, KitPropertiesView.lzx, ProductPropertiesView.lzx, and SalesCategoryPropertiesView.lzx files.

  3. Open each of the files in step 2 in a text editor or within WebSphere Commerce Developer; then search for the word disabled. The following text is taken from the CatalogPropertyPane.lzx file opened in a text editor.

    <!-- This field is disabled by default. Uncomment this section to enable the field --><wcfPropertyRichTextEditor
    <!--  objectPath="CatalogEntryDescription"
    promptText="${catalogResources.addDescription1Prompt.string}" propertyName="xdesc_auxDescription1"/> -->
    

  4. Uncomment the section below the line where the word disabled appears by removing the tag. Using the previous example, the comment tags are now removed from the CatalogPropertyPane.lzx file:

    <!-- This field is disabled by default. Uncomment this section to enable the field --><wcfPropertyRichTextEditor
     objectPath="CatalogEntryDescription"
     promptText="${catalogResources.addDescription1Prompt.string}" propertyName="xdesc_auxDescription1"/>         
    

  5. If you have opened the file in a text editor, save it; then open the file in WebSphere Commerce Developer. Select Build OpenLaszlo Projectfrom project popup menu or use CTRL+ALT+B. This step must be completed in order for the changes to take effect.

  6. Close WebSphere Commerce Developer.

  7. Open the Catalogs tool.


+

Search Tips   |   Advanced Search