Creating a catalog version

IBM® Product Master automatically creates catalog versions each time a change is made to the catalog. However, you might want to manually create a specific catalog version to have a point of reference to roll back or after bulk item imports.

About this task

You can manually create a catalog version using a script operation or using the user interface.

Procedure

Create a catalog version.
Option Description
Scenario 1: Creating a catalog version using a script operation

You create an import using a dummy catalog, which updates items in the destination catalog "ctg1." After several runs of this import job, ctg1 is populated to the point where a significant milestone is reached. You want to create a new version for ctg1 so that it is possible to roll back to this point later on if necessary.

You can use the script operation insertNewVersion() in the dummy import script to identify these milestones and automatically create a new version when a milestone is reached. The syntax for this script operation is

Version Container::insertNewVersion(String sName)
Call this script operation from a container and provide the name of the version to create.

Scenario 2: Creating a catalog version using the user interface
Users are adding items to a catalog from a workflow, and at some point you want to manually set a new version to enable rollback to this catalog state.
  1. Select the catalog that you want to create a new version of, and then click Attrs
  2. Type a name in the Add a version with the name section, and then click the plus sign to save the new catalog version.