on ‎2018 May 30 11:45 AM
I created a project with ant modulegen. b2b from b2c recipe, because hybris wiki says this.
But i could not get a proper result on backoffice / wcms / website
for that, mystore shows empty for
Name
and
Content Catalogs
I found that inpex that is not working on hac admin.
This is path
mystoreinitialdata/import/coredata/stores/mystore/site.impex
This is the error:
,8796093187112,,,column 12: could not resolve item for homepage| column 12: cannot resolve value 'homepage' for attribute 'startingPage';mystore;blue;B2C;mystore;mystoreContentCatalog;mystoreProductCatalog;en;mystoreSiteMapConfig;(?i)^https?://[^/]+(/[^?])?\?(.\&)?(site=mystore)(|\&.)$,(?i)^https?://mystore.[^/]+(|/.|\?.)$,(?i)^https?://api.hybrisdev.com(:[\d]+)?/rest/.$,(?i)^https?://localhost(:[\d]+)?/rest/.$;true;/?site=mystore;homepage;storefront,language; error is for that line > # CMS Site > INSERT_UPDATE CMSSite;uid[unique=true];theme(code);channel(code);stores(uid);contentCatalogs(id);defaultCatalog(id);defaultLanguage(isoCode);siteMapConfig(&siteMapConfigId);urlPatterns;active;previewURL;startingPage(uid,$contentCV);urlEncodingAttributes;defaultPromotionGroup(Identifier)[default=$promoGrp] > ;$siteUid;blue;B2C;$storeUid;$contentCatalog;$productCatalog;$defaultLanguage;$storeUidSiteMapConfig;(?i)^https?://[^/]+(/[^?])?\?(.\&)?(site=$siteUid)(|\&.)$,(?i)^https?://$siteUid.[^/]+(|/.|\?.)$,(?i)^https?://api.hybrisdev.com(:[\d]+)?/rest/.$,(?i)^https?://localhost(:[\d]+)?/rest/.$;true;$storefrontContextRoot/?site=$siteUid;homepage;storefront,language I followed the recipe wiki and https://wiki.hybris.com/pages/viewpage.action?pageId=294094425 that wiki. What am i doing wrong?INSERT_UPDATE CMSSite;uid[unique=true];theme(code);channel(code);stores(uid);contentCatalogs(id);defaultCatalog(id);defaultLanguage(isoCode);siteMapConfig(&siteMapConfigId);urlPatterns;active;previewURL;startingPage(uid,catalogVersion(CatalogVersion.catalog(Catalog.id[default=mystoreContentCatalog]),CatalogVersion.version[default=Staged])[default=mystoreContentCatalog:Staged]);urlEncodingAttributes;defaultPromotionGroup(Identifier)[default=mystorePromoGrp]
Request clarification before answering.
Hi Caner,
The impex in question is used in previous step of the trail https://wiki.hybris.com/pages/viewpage.action?pageId=294094418
Could you check if fragments of your impex above about SiteMapPage and SiteMapConfig are matching the ones from wiki.
You could also try redoing this part with different value in place of homepage for example faq or searchEmpty.
Hope this helps,
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 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.