Synchronization in Backoffice
Synchronization is a process of transferring data of an item from one catalog version to another. You can synchronize between Staged and Online versions, where Staged means your draft work and Online means the published content.
Synchronization can be performed after changes made to a product or to a catalog. You can either Push to Target from a Staged version of a Catalog to Online, or Pull from Source from an Online version of a Catalog to Staged.
Synchronization of Single Products
Procedure of performing single products synchronization in Backoffice.
Context
You can run synchronization of a product in the Collection Browser and Editor Area widgets. The steps below are an example of performing synchronization on a single product, from the Collection Browser and from Editor Area:
Procedure
Synchronization of Multiple Items
Procedure of performing multiple items synchronization in Backoffice.
Context
The steps below are an example of performing synchronization on multiple products, from the Collection Browser.
Procedure
Synchronization of Catalogs
Procedure of performing catalog versions synchronization in Backoffice.
Context
The steps below are an example of performing synchronization on Catalog Versions:
Procedure
Next Steps
When trying to modify and save a product from a catalog that is being synchronized, a relevant warning is displayed. You have two options available: Cancel and Ignore&Save. You can also configure the Editor Area widget, and make saving unavailable, by using disableSaveOnSync setting to true.
Lazy Task Executor
The feature shows long running operations in the Collection Browser widget.
You can see wait message and then the synchronization result appears. It is done without blocking your current UI. If more than one product is synchronized, we don't have all statuses in one background check and displayed to the user. DefaultLazyTaskExecutor creates and appends list of LazyTasks and sends an EchoEvent (ZK specific) with operations to do.
- Executing an operation
- Utilizing the result of the executed operation
EchoEvent is always executed in next UI call, it means all tasks scheduled in one UI call are collected together and send via EchoEvent to further processing.
When EchoEvent is processed, each LazyTask from the list is executed in a loop and its result is saved in the LazyTask. All LazyTask operations are executed in one LongOperation and when the LongOperation finishes, all results are available in the same time. When then results are available, utilization logic is executed for each LazyTask, also in a loop.
The Lazy Task Executor works only when the lazyRenderer setting is set to true. The default value for this setting is false, and when the default value is used, the statuses are rendered in a standard way.
The Lazy Task Executor feature is used to display sync statuses in list view. Each sync status cell creates its own LazyTask and sends it to LazyTaskExecutor. In next UI call, all those tasks are executed in one LongOperation. When results are available, final rendering is called for each cell.
- first: for rendering some default or unknown sync status
- second: for getting the sync status, it's called when LazyTask executes its logic
- third: for rendering final result, it's called when LazyTask utilizes received result
Defining Synchronization Jobs
Define a set of attributes which will be taken into account while performing synchronization.
Context
Selective Synchronization widget allows the user to perform a types' instances synchronization only for the attributes set of types.







button indicates that the attribute is excluded from synchronization. The
button indicates that the attribute will be taken into account during synchronization. Clicking those buttons will result in changing the attribute from included to excluded and the other way around. The
button means that the set of attributes is partially included during synchronization (not all of the attributes in a set are included). You can use the search panel to find a particular attribute. Use the arrow button to expand a list of attributes. You can also use the "hamburger"
to access the details panel.