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

Cannot resolve value 'homepage' for attribute 'startingPage' (hybris)

Former Member
0 Likes
1,836

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:

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]

,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?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

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,

Former Member
0 Likes

wiki shows b2c and i have all impexes there because i used b2c recipe.