Displaying hidden tabs and fields in the Catalogs tool

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

Procedure

  1. Decide which fields or tabs you want to display. The inventory tab and the fields located in the Publishing and Additional Information sections can be displayed.
  2. Complete one of the following steps:
    OptionDescription
    WebSphere Commerce Version 7.0.0.0Feature Pack 1Navigate to the listed directories to locate the OpenLaszlo class files required to display the new informationWebSphere Commerce Version 7.0.0.0Feature Pack 1
    WCDE_installdir\workspace\LOBTools\WebContent\WEB-INF\src\lzx\commerce\catalog\listViewDefinitions
    This directory contains the CatalogEntryGrid.lzx and CategoryGrid.lzx files.
    WCDE_installdir\workspace\LOBTools\WebContent\WEB-INF\src\lzx\commerce\catalog\objectDefinitions
    This directory contains the KitPrimaryObjectDefinition.lzx, ProductPrimaryObjectDefinition.lzx, and CatalogEntryPrimaryObjectDefinition.lzx files.
    WCDE_installdir\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.
    Feature Pack 2Navigate to the listed directories to locate the definition files required to display the new informationFeature Pack 2
    WCDE_installdir\workspace\LOBTools\WebContent\config\commerce\catalog\listViewDefinitions
    This directory contains the CatalogEntryGrid.def and CategoryGrid.def files.
    WCDE_installdir\workspace\LOBTools\WebContent\config\commerce\catalog\objectDefinitions
    This directory contains the KitPrimaryObjectDefinition.def, ProductPrimaryObjectDefinition.def, and CatalogEntryPrimaryObjectDefinition.def files.
    WCDE_installdir\workspace\LOBTools\WebContent\config\commerce\catalog\propertiesViews
    This directory contains the CatalogPropertyPane.def, CategoryPropertiesView.def, KitPropertiesView.def, ProductPropertiesView.def, and SalesCategoryPropertiesView.def files.
  3. Open each of the files listed in the previous step in a text editor or within WebSphere Commerce Developer; then search for the word disabled. For example:
    OptionDescription
    WebSphere Commerce Version 7.0.0.0Feature Pack 1The following text is taken from the CatalogPropertyPane.lzx fileWebSphere Commerce Version 7.0.0.0Feature Pack 1
    <!-- This field is disabled by default. Uncomment this section to enable the field --><wcfPropertyRichTextEditor
    <!--  objectPath="CatalogEntryDescription"
    promptText="${catalogResources.addDescription1Prompt.string}" propertyName="xdesc_auxDescription1"/>
    -->
    Feature Pack 2The following text is taken from the CatalogPropertyPane.def fileFeature Pack 2
    <!-- This field is disabled by default. Uncomment this section to enable the field -->
    <!-- <PropertyRichTextEditor objectPath="CatalogEntryDescription"
    	promptText="${catalogResources.addDescription1Prompt}"
    	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.
    OptionDescription
    WebSphere Commerce Version 7.0.0.0Feature Pack 1CatalogPropertyPane.lzx WebSphere Commerce Version 7.0.0.0Feature Pack 1
    <!-- This field is disabled by default. Uncomment this section to enable the field --><wcfPropertyRichTextEditor
     objectPath="CatalogEntryDescription"
     promptText="${catalogResources.addDescription1Prompt.string}" propertyName="xdesc_auxDescription1"/>         
    Feature Pack 2CatalogPropertyPane.def Feature Pack 2
    <!-- This field is disabled by default. Uncomment this section to enable the field -->
    <PropertyRichTextEditor objectPath="CatalogEntryDescription"
    	promptText="${catalogResources.addDescription1Prompt}"
    	propertyName="xdesc_auxDescription1"/>
  5. WebSphere Commerce Version 7.0.0.0Feature Pack 1If you opened the file in a text editor, save it; then open the file in WebSphere Commerce Developer. Right-click LOBTools Project; then click Build OpenLaszlo Project or press CTRL+ALT+B.
    You must complete this step in order for the changes to take effect.
  6. WebSphere Commerce Version 7.0.0.0Feature Pack 1Close WebSphere Commerce Developer.
  7. Open the Catalogs tool.