Synchronization in the Product Cockpit
You can see the predefined catalog structure in the Product Cockpit. By default, there are two catalog versions: staged and online. Staged catalog version is used for the daily work, while the online version contains the published content.
A synchronization consists in an one-directional update of a catalog version according to another catalog version. A synchronizing operation copies the specified content from a source catalog version to a target catalog version. For example, a staged to an online catalog version. That means the items referenced by the target catalog version are overwritten to match the items referenced by the source catalog version. The synchronization is the last step in the process of creating or changing a product.
The following actions concerning the synchronization are available in the Product Cockpit:
- Synchronization source target
- Synchronization target source, so called pulled synchronization
- Search for synchronization sources or targets
- Multi-target synchronization
You can synchronize one product or you can perform a batch synchronization by using synchronization icons on a toolbar.
The synchronization status of a product is visible near to its thumbnail in the grid view.
Buttons used to synchronize products between different catalog versions are located on the Toolbar and on the thumbnail of a product.
Synchronizing Catalog Versions
In order to synchronize a product staged version with its on-line version, click the Synchronize
button located on the Toolbar.
The Not synchronized status
changes then to the Synchronized status
.
Figure: Example a product in two catalog versions before and after the synchronization
Using Pulled Synchronization
You can also initialize the synchronization from the on-line catalog version. To perform the pulled synchronization, click the Synchronize with source button
.
Figure: Thumbnail of a product with the *Syncronize with source* button highlighted
Searching for Synchronization Sources or Targets
Product Cockpit offers the functionality of searching for synchronization sources or targets. Such information can be obtained regardless of the catalog version you are currently working with.
To search for synchronization sources or targets follow the steps below:
- Click the Show synchronization sources or targets button
.
- Select the proper option:
- If you work on the staged catalog version, select the Target items
- If you work on the on-line catalog version, select the Source items
- You can see the required item in the context area.
Figure: A view of the browser area with the synchronization source item visible in the context area
Multi-Target Synchronization
You can select an option to simultaneously synchronize a product or a source catalog version with multiple target products or target catalog versions in the Product Cockpit. This option is available only if you have a specific data structure with many possible target catalog versions for one source catalog version.
To start the multi-target synchronization, follow the steps below.
- Multi-target synchronization of the entire catalog version:
- Right-click the source catalog version and select the Sync selected version option.
- In the Configuration of synchronization dialog box, select the desired target catalog versions. Use the Ctrl button.
- Click the Synchronize
button.
- Right-click the source catalog version and select the Sync selected version option.
- Multi-target synchronization of the selected product:
- Click the Synchronize
button near the product thumbnail you want to synchronize. - In the Target tab of the Configuration of synchronization dialog box, select the desired target catalog versions. Use the Ctrl key.
- Click the Synchronize button
.
- Click the Synchronize
Product Express Update
Product express update functionality allows you to speed up the priority updates of the specific product to go live within shortest possible time span. This may be handy in case you need to update certain product and want this update to become effective right away without waiting for the next scheduled update.
You can enable it by setting the expressUpdateCatalogVersion property in the project.properties file in the productcockpit extension. For details, see Enabling the Product Express Update.
Once you set the property, products from the selected catalog version are given additional action icon like in the figure below: in the toolbar and in the product square boxes. Clicking the icon for the selected product adds it to the ExpressUpdate queue which keeps products for a short time span configured in the cronjob. This queue can be used by specific implementations to signal to external clients that certain product should be updated urgently. For more information on how the queue can be used by the REST clients, see the expressUpdate section of Resource Products.