Increasing the size of the Keyword field

You can increase the size of fields in the Catalogs tool. For example, to use the catalog search relevancy feature you can increase the size of the Keyword field on the Catalogs tool Category page.

Procedure

In this example, the default size of the Keyword field is increased from the default value of 254 to a value of 32500.
Update the CatalogCommonObjectDefinitions.def file.
  1. Start WebSphere Commerce Developer.
  2. Open the J2EE perspective and select the Enterprise Explorer view.
  3. Go to Dynamic Web Project > LOBTools > WebContent > config > commerce > catalog > objectDefinitions.
  4. Open the CatalogCommonObjectDefinitions.def file for editing.
    Locate the following snippet in the Keyword section:
    
    <!--- Keyword -->
       <PropertyDefinition displayName="${catalogResources.catalogGroupDescriptionKeywords_DisplayName}" 
    maximumSize="254" propertyName="keyword" type="string"/>
    
    Change the maximumSize value:
    
    <!--- Keyword -->    
       <PropertyDefinition displayName="${catalogResources.catalogGroupDescriptionKeywords_DisplayName}" 
    maximumSize="32500" propertyName="keyword" type="string"/>
    
  5. Save your changes and close the file.