WebSphere Commerce EnterpriseWebSphere Commerce Professional

Loading data from an external source into workspaces with the mass load utility

You can load data and files from an external source into your workspaces with the mass load utilities.

Only data that resolves into managed assets is loaded into workspaces. Any data that resolves into non-managed assets is loaded into the production-ready data on the authoring server.

If you load bad data into a workspace, run the mass load utility with the same XML input file and specifying the delete method. This loading removes the bad data from the workspace. After that, you can correct the data and try to load the data into the workspace again.

When loading data and files into workspaces with the loading utilities, take note of the following considerations:
  • The loading utilities load all data that resolves into managed assets into workspaces. Any data that resolves into non-managed assets loads into the production-ready data on the authoring server.
  • The loading utilities do not observe the WebSphere Commerce database referential constraints when you load data into a workspace. This limitation in workspaces permits bad data to be loaded into the workspace. Bad data in the workspace prevents the workspace data from being committed to the production-ready data.

Procedure

  1. Ensure that you completed the following configuration tasks on the authoring server:
    1. Configure the loading utilities.
    2. Configure tracing and logging for the loading utilities.
    3. Configure the massload utility.
    4. Optional: Configure the MassLoadCustomizer.properties file.
  2. If this is the first time that the data is being loaded, generate a DTD and schema for use with the loading utilities.
  3. If you have not already resolved identifiers, resolve them now.
  4. Run the massload utility to load data into the workspace.
  5. Run the fileloader utility to load managed files into the workspace.