Tutorials > Customize > Use an ATP catalog

< Previous | Next >


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.

:


Procedure

  1. Extract ATPcatalog.zip to any directory on the machine where you have installed WebSphere Commerce.

  2. Open the env.bat file in a text editor.

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

  4. Switch to the "processed" directory in thisPath (the directory to which you extracted ATPcatalog.zip).

  5. Open the ATP_Load.xml file in a text editor.

  6. Locate the following line:

    <!DOCTYPE import SYSTEM
    "D:\WebSphere\WCTk561_a\schema\xml\wcs.dtd">
    

  7. Update the text D:\WebSphere\WCTk561_a to reflect the WebSphere Commerce installation directory.

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

  9. Save the ATP_Load.xml file.

< Previous | Next >


+

Search Tips   |   Advanced Search