Hiding classic attributes in the Management Center
If you want to use the attribute dictionary without the classic attributes, you can hide them in the Catalogs tool in the Management Center.Before you beginBefore you begin, the attribute dictionary must be loaded.
About this taskTo hide classic attributes (attributes not in the attribute dictionary) in the Catalogs tool properties view:
- Enable the attribute dictionary.
- Open WebSphere Commerce Developer.
- Open the J2EE Perspective and select the Project Explorer view.
- Navigate to Dynamic Web Projects > LOBTools > WebContent > WEB-INF > src > lzx > commerce > catalog > propertiesViews ; then open the CatalogPropertyPane.lzx file.
Three classes will be modified: catCatalogEntryDefiningAttributes, catSKUAttributes and catCatalogEntryDefiningAttributes.
- In catCatalogEntryDescriptiveAttributes, comment out the property group named catCatalogEntryDescriptiveAttributesPropertyGroup, by changing:
<!-- Property Group: A properties group to display non-dictionary descriptive attributes for a catalog entry. ATTRIBUTE DICTIONARY CUSTOMIZATION POINT: comment out the property group below if viewing non-dictionary attributes is not desired. --> <wcfPropertyGroup collapsable="false" name="catCatalogEntryDescriptiveAttributesPropertyGroup"> <catCatalogEntryDescriptiveAttributeList/> </wcfPropertyGroup>to:<!-- Property Group: A properties group to display non-dictionary descriptive attributes for a catalog entry. ATTRIBUTE DICTIONARY CUSTOMIZATION POINT: comment out the property group below if viewing non-dictionary attributes is not desired. <wcfPropertyGroup collapsable="false" name="catCatalogEntryDescriptiveAttributesPropertyGroup"> <catCatalogEntryDescriptiveAttributeList/> </wcfPropertyGroup> -->- In catCatalogEntryDefiningAttributes, comment out the property group named catCatalogEntryDefiningAttributesPropertyGroup by changing:
<!-- Property Group: A properties group to display local defining attributes for a product. ATTRIBUTE DICTIONARY CUSTOMIZATION POINT: comment out the property group below if viewing non-dictionary attributes is not desired. --> <wcfPropertyGroup collapsable="false" name="catCatalogEntryDefiningAttributesPropertyGroup"> <!-- An enablement condition that evaluates to true if 'catalogEntryHasAttributeDictionaryDefiningAttributes' is '' (empty string). --> <wcfEnablementCondition conditionId="catalogEntryHasAttributeDictionaryDefiningAttributesCondition" propertyName="catalogEntryHasAttributeDictionaryDefiningAttributes" enablementValue=""/> <<!-- An instantiation of a class which contains a Child List Editor to display non-dictionary defining attributes. --> <catCatalogEntryDefiningAttributeList/> </wcfPropertyGroup>to:<!-- Property Group: A properties group to display local defining attributes for a product. ATTRIBUTE DICTIONARY CUSTOMIZATION POINT: comment out the property group below if viewing non-dictionary attributes is not desired. <wcfPropertyGroup collapsable="false" name="catCatalogEntryDefiningAttributesPropertyGroup"> <wcfEnablementCondition conditionId="catalogEntryHasAttributeDictionaryDefiningAttributesCondition" propertyName="catalogEntryHasAttributeDictionaryDefiningAttributes" enablementValue=""/> <catCatalogEntryDefiningAttributeList/> </wcfPropertyGroup> -->- In catSKUAttributes, comment out the property group named catCatalogEntryDescriptiveAttributesPropertyGroup by changing:
<!-- Property Group: A properties group to display non-dictionary descriptive attributes for a SKU. ATTRIBUTE DICTIONARY CUSTOMIZATION POINT: comment out the property group below if viewing non-dictionary attributes is not desired. --> <wcfPropertyGroup collapsable="false" name="catCatalogEntryDescriptiveAttributesPropertyGroup"> <!-- An instantiation of a class which contains a Child List Editor to display non-dictionary descriptive attributes. --> <catCatalogEntryDescriptiveAttributeList/> </wcfPropertyGroup>to:<!-- Property Group: A properties group to display non-dictionary descriptive attributes for a SKU. ATTRIBUTE DICTIONARY CUSTOMIZATION POINT: comment out the property group below if viewing non-dictionary attributes is not desired. <wcfPropertyGroup collapsable="false" name="catCatalogEntryDescriptiveAttributesPropertyGroup"> <catCatalogEntryDescriptiveAttributeList/> </wcfPropertyGroup> -->- Save your changes. WebSphere Commerce Developer compiles the code to produce an updated ManagementCenter.swf file under the WCDE_installdir\workspace\LOBTools\WebContent directory.