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

  1. Enable the attribute dictionary.

  2. Open WebSphere Commerce Developer.

  3. Open the Java EE perspective and select the Enterprise Explorer view.

  4. 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.

  5. 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>    -->
    

  6. 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> 
    -->   
    

  7. 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>    
    -->
    

  8. 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

Attribute dictionary


Related tasks

Use the attribute dictionary

Load the attribute dictionary

Enable the attribute dictionary


+

Search Tips   |   Advanced Search