Skip to Content
0
Former Member
May 24, 2018 at 10:27 AM

Website not connected to content catalog (hybris)

242 Views

I followed those steps:

https://wiki.hybris.com/pages/viewpage.action?pageId=294094418

Changing mystoreinitialdata/coredata impexes

AFter those steps, i can see my content, product and classification on catalog/catalogs on backoffice.

But when i go to wcms/websites, i see 5 items. apparelde, uk, electronics, powertools and my newly created mystore.

mystore does not have name , active=true and content catalogs is empty.

I want to add my catalog to website by programmatically.

I think it is about coredata , not sampledata.

when i search

 mystore site

it can be found only here

 # Language
 $lang=en
 
 # Create CMS Site
 UPDATE CMSSite;uid[unique=true];name[lang=$lang];locale[lang=$lang]
 ;mystore;"Mystore Site";en_GB
 
 import/coredata/stores/mystore/site_en.impex


But powertools has two more powertools site

 # CMS Navigation Nodes
 UPDATE CMSNavigationNode;$contentCV[unique=true];uid[unique=true];title[lang=$lang]
 ;;AcceleratorNavNode;"Accelerator"
 ;;FollowUsNavNode;"Follow Us"
 ;;HybrisNavNode;"Hybris"
 ;;MyAccountNavNode;"My Account"
 ;;PowertoolsNavNode;"Powertools Site"
 ;;SiteRootNode;"SiteRoot"
 
 ##-- level 2. children of SiteRoot --##
 INSERT_UPDATE CMSNavigationNode;uid[unique=true];$contentCV[unique=true];name;parent(uid, $contentCV);links(&componentRef);&nodeRef
 ;PowertoolsNavNode;;Powertools Site;SiteRootNode;;PowertoolsNavNode


which are in cms-content and cms-content en impexes.

Should i add them or another way ?