cancel
Showing results for 
Search instead for 
Did you mean: 

synchronization for individual item through backoffice.

Former Member
0 Kudos

Hi , i need to synchronize individual items in backoffice. if it is not possible OOTB then how can i customize to be able to sync individual items. i am using hybris version 6.3.

Thanks,

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

You can use platforms service CatalogSynchronizationService.synchronize and pass in syncConfig.addItemToSync( PK originalItemPK ) PKs of items which should be synchronized.

     /**
      * Starts synchronization for an existing {@link SyncItemJobModel}. The configuration parameter allows to
      * configure/override a number of synchronization job settings.
      *
      * The returned {@link SyncResult} gives both access to the execution result or, in case the process was started
      * asynchronously, to observe the running process
      */
     SyncResult synchronize(SyncItemJobModel syncJob, SyncConfig syncConfig);


It's up to you how you will trigger this logic. In 6.4 we have sync action, popup which allows to choose a job to perform a sync syncJobs can be taken from catalogVersion

  catalogVersion.getIncomingSynchronizations()
     catalogVersion.getSynchronizations()

Answers (1)

Answers (1)

former_member638520
Contributor
0 Kudos

Hi,

This feature will be available in backoffice in version 6.4

Regards

Lukasz

Former Member
0 Kudos

Thanks for your response, But how can i customize in 6.3.