Develop > Presentation layer > Management Center framework > Customize the Management Center user interface > Customizing an existing Management Center tool
Hide 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. Classic attributes are attributes that are not defined the attribute dictionary.
Before you begin
Before you begin, the attribute dictionary must be loaded.
Procedure
- Enable the attribute dictionary.
- Open WebSphere Commerce Developer.
- Open the Java EE perspective and select the Enterprise Explorer view.
- Navigate to 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 the changes. WebSphere Commerce Developer compiles the code to produce an updated ManagementCenter.swf file under the WCDE_INSTALL\workspace\LOBTools\WebContent directory.
Related concepts
Related tasks
Enable the attribute dictionary