Tutorials > Customize > Use an ATP catalog
Install loading tools
This section explains how to install loading tools.
With this tutorial you use a packaged set of scripts and an XML file. Click ATPcatalog.zip to download. This package will allow you to add some example ATP catalog assets to the store. These assets demonstrate the functionality of ATP for an order.
:
- The path to which the ATPcatalog.zip package is extracted cannot have any spaces, because commands in some scripts might not be interpreted correctly.
- Steps 2-9 are not an essential part of this tutorial and are intended to familiarize you with the loading utilities. If you have trouble with the BAT and XML files mentioned in these steps, or if you want more understanding of loading utilities, consult Load data.
Procedure
- Extract ATPcatalog.zip to any directory on the machine where you have installed WebSphere Commerce.
- Open the env.bat file in a text editor.
- Edit the following items in the env.bat file. The variable WC_database is used here to refer to the database used by the WebSphere Commerce system.
The "values" listed are examples; set the variable (for example, DBNAME) to whatever value it has on the system.
Example setting (variable=value) Meaning of variable DBDRIVER=com.ibm.db2j.jdbc.DB2jDriver Database driver configured with the WebSphere Commerce system DBURL=jdbc:db2j:mall Database url used by the WebSphere Commerce system DBNAME=mall Name of WC_database DBUSER=user User of WC_database DBPWD=password Password of the user of WC_database processType=toolkit Type of environment of the WebSphere Commerce system (that is, toolkit is used for the Toolkit environment; server is used for the server environment) databaseType=cloudscape Type of WC_database (that is, cloudscape for ; Cloudscape; DB2 for DB2 UDB; Oracle for Oracle) thisPath=D:\ATPCatalog\ Directory to which you extracted ATPcatalog.zip. The path to which the ATPcatalog.zip package is extracted cannot have any spaces, because commands in some scripts might not be interpreted correctly.
WCSHOME=E:\WebSphere\CommerceServer\Commerce Directory for WebSphere Commerce Server if applicable ToolKitHOME=D:\WebSphere\WCTk561_a Directory for WebSphere Commerce Toolkit if applicable
- Switch to the "processed" directory in thisPath (the directory to which you extracted ATPcatalog.zip).
- Open the ATP_Load.xml file in a text editor.
- Locate the following line:
<!DOCTYPE import SYSTEM "D:\WebSphere\WCTk561_a\schema\xml\wcs.dtd">
- Update the text D:\WebSphere\WCTk561_a to reflect the WebSphere Commerce installation directory.
- If you are using a store with a name other than "AdvancedB2BDirect", then perform a global search for all references of "AdvancedB2BDirect" and replace them with the name of the store.
- Save the ATP_Load.xml file.