Tutorials > Management Center > Add new fields in the Catalogs tool

< Previous | Next >


Customize the Catalogs tool to upload data from custom tables

This tutorial demonstrates how to customize the Management Center Catalogs tool catalog upload feature to load data into custom tables.

This tutorial continues the Warranty scenario introduced in "Adding new properties to a WebSphere Commerce service using the data service layer", where you extended the Catalog schema with warranty and care instruction information. Now, you load the warranty and care instruction data into the target database using the Catalog Upload feature.

The Catalog Upload feature is a graphical user interface that uses the Data Load utility to load catalog data into the database. Catalog Upload configuration files are in the WC_EAR/xml/config/com.ibm.commerce.catalog/dataload directory. The following configuration files are provided:

Data load order file (wc-dataload.xml)

This file points to the input CSV file, environment settings file, and business object configuration file.

Environment variable file (wc-dataload-env.xml)

This file specifies the business context information, database connection property, ID resolver, and data writer class.

Business object files (wc-loader-business_object.xml)

This file specifies the data reader, business object builder, and business object mediator for the business object. For example, the business object file for a catalog entry business object is wc-loader-catalog-entry.xml.

When you extend the catalog schema, edit the business object configuration file (wc-loader-business_object.xml) to map to the custom tables.


Learning objectives

After completing this tutorial, you should be able to:


Time required

This tutorial is expected to take 1 hour to complete. If you explore other concepts related to this tutorial, it could take longer to complete.


Skill level

Intermediate


Audience

This tutorial is intended for WebSphere Commerce developers who want to customize the Catalog Upload feature to support loading custom table data.


Prerequisites

Before beginning this tutorial ensure that you have fulfilled the following prerequisites:


Lessons in this tutorial

< Previous | Next >


+

Search Tips   |   Advanced Search