close

Filter

loading table of contents...

Connector for HCL Commerce Manual / Version 2107

Table Of Contents

3.14 Deploying the CoreMedia Catalog Data

The Sample archive file contains CoreMedia store data that can be used together with the CoreMedia CMS Blueprint demo data. Part of the data can be imported via SAR files, the other via data load.

Publishing SAR Files

This content can be found in the following folders below the sar/ folder:

  • esite-base

  • esite-base-ws

  • esite-marketing

You have to publish these data into the commerce system as described below. See the HCL documentation at https://help.hcltechsw.com/commerce/8.0.0/admin/tasks/tpbpbst.html for more details.

  1. Start the HCL Commerce server.

  2. Pack the SAR-INF and WEB-INF subfolders of each esite folder into a Zip file named after the esite folder. For example, esite-base.zip. Change the file extension of the three Zip files to ".sar".

  3. Publish the esite-base.sar file into the commerce system, following the HCL documentation, using the publishstore tool. The other two files are automatically imported.

  4. Adapt the database settings in the environment configuration files wc-dataload-env.xml and wc-dataload-env-ws.xml of each esite to the values of your database. You will find the files below: sar/<siteName>/WEB-INF/stores/PerfectChef_Catalog[_WS]/data/dataload.

  5. In the files sar/esite-base/WEB-INF/stores/PerfectChef_Catalog/data/ibm-wc-load.xml and sar/esite-base-ws/WEB-INF/stores/PerfectChef_Catalog_WS/data/ibm-wc-load.xml adapt the links to the location of the other SAR files in the task element with name "sarFileDeploy".

    <task name="sarFileDeploy">
          <param name="storeArchiveFilename" value="/home/wcuser/sars/esite-marketing.sar"/>

    Example 3.8. Default link setting


Importing Data via Data Load

See the HCL Commerce documentation https://help.hcltechsw.com/commerce/8.0.0/data/concepts/cmlbatchoverview.html for more details about data load.

  1. Stop the HCL Commerce server in the HCL RAD environment.

  2. Adapt the database settings in the Data Load environment configuration files (SAMPLEDATA-ZIP\workspace\DataLoad\dataload\common\wc-dataload-env[-<siteName>].xml) from the Sample archive Zip file to the settings of your WebSphere database.

    You can retrieve your database settings from the HCL RAD environment configuration file WC/xml/config/wc-server.xml, at the following XML element:

    <InstanceProperties>
       <Database>
         <DB>
  3. Use the Data Load utility to load the data for all sites. Give the absolute path to the wc-dataload.xml file, for example c:\lc-demo-data\workspace\DataLoad\dataload\common\AuroraESite\wc-dataload.xml.

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.