on ‎2019 May 22 2:34 PM
Hi All,
I want to synchronize 50 products from a product catalog. As we know, we can run synchronize job which will sync entire catalog products which I don't want or we can do sync individual products in backoffice.
So is there any way to sync only 50 products via groovy or impex script ?
Note : I have product codes of 50 products.
Thanks in advance.
Request clarification before answering.
Hello ,
Yes, you can synchronize those through a groovy script.
Put those codes in a list.
Loop over them and for each code get their model
Synchronize using performItemSynchronization(...) method from DefaultItemSynchronizationService class
You can as well export all those products by writing an export script using exportItemsFlexibleSearch( String query ) method and import them using the target catalog version. Check https://help.sap.com/viewer/50c996852b32456c96d3161a95544cdb/6.6.0.0/en-US/8361ab18bb434ba3abbac01e3... for more information on Export API.
Hope it helps.
Thanks, .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 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.