on 04-26-2017 8:44 AM
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,
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()
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
This feature will be available in backoffice in version 6.4
Regards
Lukasz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
3 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.