cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Multi-Country Site Support & Synchronization of Content Catalog

former_member645653
Discoverer
0 Likes
1,539

Hello,

we want to setup a Multi-Country Site. Let's say we have 2 stores and 2 cmsSites for the country DE and country UK. We have a content catalog DE and a content catalog UK where UK has set the content catalog of DE as a supercatalog.
Thus all the content of UK is inherited from DE.
Now if we clone a page from DE e.g. in Smartedit the page is present in the staged content catalog of UK. If we do a synchronization now it looks like everything works (sync from UK staged -> UK online). The sync job runs and there is no error in the console log. We only get a warning "[DefaultCatalogSynchronizationService] Found some items that aren't applicable for the given sync item job: sync electronics-deContentCatalog:Staged->Online"

And the result is that the page is not in the online content catalog of UK. Nothing was synchronized.
Same is if we create a new page in the staged catalog of UK.

The configuration(root types, ...) are identical to the sync job (staged content DE -> online content DE) where the synchronization ist working.

Furthermore I setup the sample electronics store with the multicountrysampledataaddon (in a new test project with hybris version 2005). In Smartedit I created a new page in electronics-de (staged) and did a synchronization. I got the same warning in the console log and the page was not synchronized to the online catalog.

But I can create a new page directly in the online catalog. Thus I guess the permissions of my cms magager are ok. The online catalog is writable for me.
It is only that the synchronization service doesn't see any cms items in the staged catalog that have to be synchronized. I tried as well to set the content catalog DE in the "depends on" relation of the sync job. But no change in the synchronization behaviour.

Does anybody have a clue what is going on here?

Kind regards
Markus

Accepted Solutions (1)

Accepted Solutions (1)

former_member645653
Discoverer

I found the problem. First, as already written in a related question we had to add the parent sync catalog job for the attribute "depends on sync" in country specific sync job.

The synchronization still didn't work afterwards. The next problem was that the root types configured in the country specific sync job (administration tab) didn't contain the types "Base WCMS item (CMSItem)" and "Base WCMS Relation (CMSRelation).
After adding these two root types we finally got a working synchronization for the country specific content catalog.

phoude
Participant
0 Likes

Thanks the second part of your comment helped me figure out why the Sync icon in CMSCockpit was missing, why Content Catalog Sync was skipping my new page and why SmartEdit could sync my new page either.

Answers (0)