Catalog load configuration properties
You can configure the load properties to change the behavior of Catalog Upload when you load catalog data. You can edit the load configuration files to add, update, or remove settings.
The default location for the load configuration files for Catalog Upload is workspace_dir/wc/xml/config/com.ibm.commerce.catalog/dataload. Do not modify the files at that location. You can change the properties to suit your business needs by creating a custom wc-loader-businessobject.xml file that contains the changed properties. Edit properties to the BusinessObjectMediator element. The element resembles the following example:
<_config:BusinessObjectMediator className="com.ibm.commerce.catalog.dataload.mediator.CatalogMediator"
componentId="com.ibm.commerce.catalog">
<_config:property name="" value="false" />
<_config:property name="" value="true" />
</_config:BusinessObjectMediator>
Property | Description | Configuration file available for property use |
---|---|---|
actionOnError
|
Controls the action on error. You can set the following values for this property:
|
All configuration files. |
allowChangeAttributeType
|
Controls behavior of ATTRUSAGE column of ATTR table during a load operation
when the column is set to null. You can set the following values for this property:
Note: When you use Catalog Upload, the default value for the
allowChangeAttributeType flag is false. |
Business object configuration files for attributes, such as:
|
attributeValueValidation
|
Indicates whether to validate the attribute value. The attribute value is
mandatory except within a product and defining attribute relationship. You can set the following
values for this property:
Note: The attributeValueValidation flag is configured to be
false when you use Catalog Upload. |
Business object configuration files for attributes, such as:
|
buildSearchIndex
|
Requests that the Solr search index is to be built for category and catalog
entry information. You can set the following values for this property:
|
All configuration files. |
createParentProductWhenMissing
|
Indicates whether to create the missing parent product of the catalog entry if
no parent product is provided. You can set the following values for this property:
|
Business object configuration files for catalog entries, such as:
|
DataCacheInvalidationEnabled
|
Indicates whether the load operation inserts records into the CACHEIVL database table for the object that is being loaded. These records are picked up
when the DynaCacheInvalidation URL command runs to clear the data cache in the WebSphere Commerce
server. Use this property to ensure that the data cache is invalidated so the Management Center can
pick up the new object changes. You can set the following values for this property:
|
Load order and business object configuration files. If you want the property
to apply to all objects that are being loaded, include the property within the load order
configuration file. To have the property apply to only a specific object, include the property
within the appropriate business object configuration file. By default, all catalog upload load order configuration files include this property with a value of true. |
deleteSKUFromExistingParentProductWhenNewParentIsDifferent
|
Indicates whether to delete existing parent product of a SKU if the new parent
product is different. You can set the following values for this property:
|
Business object configuration files for catalog entries that have child SKUs,
such as:
|
DeltaIndexingThresholdUponWorkspaceApproval
|
Specifies the delta indexing threshold for workspace indexes. If the threshold value is reached when a workspace approval occurs, a full index runs instead of a delta index. | Load order configuration files for loading objects that can be searched. |
fixSEO
|
Configures the load operation to replace invalid characters in the Keyword column for an SEO
URL with the underscore "_" character. You must apply the interim fix for
APAR JR53011 to use this configuration property. You can set the following
values for this property:
|
Business object configuration files for loading catalog entry objects with the
CatalogEntrySEOMediator business object mediator. For instance:
|
initAttribute
|
Indicates whether to implicitly initialize the attribute allowed value if it
is not defined. You can set the following values for this property:
|
Business object configuration files for attribute dictionary attribute can
catalog entry relationships, such as:
|
initAttributeDictionary
|
Indicates whether to initialize the attribute dictionary for the store. You
can set the following values for this property:
|
Business object configuration files for catalogs and catalog entries, such as:
|
markForDelete
|
Indicates whether to perform a physical delete or flag an object as marked for
delete. You can set the following values for this property:
|
Business object configuration files for catalog entries that use the
CatalogEntryMediator, such as:
The CatalogGroupMediator business object mediator supports the
markForDelete property. You can configure this property in the business object
configuration file for loading categories.
|
rollbackForAnyException
|
Indicates whether the load operation rolls back all of the data that is
processed after the last committed record when any type of exception occurs. This property is
supported for use only with the data load order configuration file. You can set this property within
the configuration for each load item or within the parent <_config:LoadOrder>
element to have the property setting apply to all load items. You can set the following values
for this property:
|
Load order configuration files. |
shareAssignedAttributeValues
|
Indicates whether Catalog Upload supports reusing assigned values when
duplicate values are included for different catalog entries in the input file. You can set the
following values for this property:
|
Business object configuration files for loading catalog entry and attribute
relationships.
Support for reusing assigned values during a load operation is enabled by default. |
summaryReportLevel
|
Indicates whether to include extra information within the summary report that
is generated for the load process. If this property is not specified the default summary report
generates. You can set the following values for this property:
|
Load order configuration files. |
supportMultipleValuesForADAttributes
|
Indicates whether to support multiple values for attribute dictionary
attributes. You can set the following values for this property:
|
Business object configuration files for attribute dictionary attribute can
catalog entry relationships, such as:
|
syncSalesCatalogs
|
Indicates whether to synchronize the product relationships in linked sales
catalogs when the load process creates a product under a category. If this flag is set to true, the
load process searches all of the sales catalogs that this category is linked to. If the
category-product relationship does not exist in a catalog, the load process creates the relationship
in the catalog. You can set the following values for this property:
|
Business object configuration files for catalog entries, such as:
|
validateAttribute
|
Indicates whether to run the validation logic. This flag also checks whether
the SKU and the product have compatible defining attributes when it moves a SKU under this product.
You can set the following values for this property:
|
Business object configuration files for attribute dictionary attributes, such as:
|
validateCatalog
|
Indicates whether to validate the catalog for the store. Validation checks if
more than one master catalog is created for a store. If the store support sales catalog, checking
whether a catalog entry already belongs to more than one master category. The validation checks if
an attribute allowed value can be set to default in the current store. You can set the following
values for this property:
|
Business object configuration files for catalogs, categories, and catalog
entries, such as:
|
validateCatalogEntry
|
Indicates whether to run the validation logic for catalog entry. You can
set the following values for this property:
|
Business object configuration files for catalog entries, such as:
|
validateCatalogGroup
|
Validates whether the category belongs to the specified catalog. You can set
the following values for this property:
Note: If you set the value to true, you must set the batchSize to 1 because the validation
depends on the committed data in the database. For more information, see Configuring the data load order. |
Business object configuration files for categories, such as:
|
validateDelete
|
Validates whether a category that is being deleted includes child categories.
You can set the following values for this property:
|
Business object configuration files for categories that use the
CatalogGroupMediator business object mediator, such as:
|
validateScope
|
Validation occurs to check whether the store that is specified within the
input file exists within the current organization root. You can set the following values for this property:
|
All business object configuration files for loading catalog data. |