on 07-14-2018 8:11 AM
I have followed steps for Creating a Customized B2B Accelerator with Modulegen
I have created content and product catelog .I have created homepage.jsp at Creating a Customized B2B Accelerator with Modulegen when I am running following Impex for CMS Cite
$contentCatalog=trainingstorefrontContentCatalog $contentCatalogName=trainingstorefront Content Catalog $productCatalog=trainnigproductcatalog $classificationCatalog=trainingclassificationcatalog $catalogVersion=catalogversion(catalog(id[default=$productCatalog]),version[default='Staged'])[unique=true,default=$productCatalog:Staged] $contentCV=catalogVersion(CatalogVersion.catalog(Catalog.id[default=$contentCatalog]),CatalogVersion.version[default=Staged])[default=$contentCatalog:Staged] $defaultLanguage=en $storeUid=training $siteUid=training $webServiceSiteUid=$siteUidWS $siteMapLangCur=jaCad,jaUsd,enCad,enUsd,deCad,deUsd,zhCad,zhUsd $siteMapUrlLimitPerFile=50000 $siteMapPage=Homepage,Product,CategoryLanding,Category,Store,Content,Custom
INSERT_UPDATE SiteMapPage;&siteMapPage;code(code)[unique=true];frequency(code)[unique=true];priority[unique=true];active[default=true] ;Homepage;Homepage;daily;1.0;;
INSERT_UPDATE CMSSite;uid[unique=true];theme(code);channel(code);stores(uid);contentCatalogs(id);defaultCatalog(id);defaultLanguage(isoCode);urlPatterns;active;previewURL;startingPage(uid,$contentCV);urlEncodingAttributes;defaultPromotionGroup(Identifier)[default=powertoolsPromoGrp] ;$siteUid;lambda;B2B;$storeUid;$contentCatalog;$productCatalog;$defaultLanguage;(?i)^https?://[^/]+(/[^?])?\?(.\&)?(site=$siteUid)(|\&.)$,(?i)^https?://$siteUid.[^/]+(|/.|\?.*)$;true;$storefrontContextRoot/?site=$siteUid;homepage;storefront,language,currency
I am getting following error: INSERT_UPDATE CMSSite;uid[unique=true];theme(code);channel(code);stores(uid);contentCatalogs(id);defaultCatalog(id);defaultLanguage(isoCode);urlPatterns;active;previewURL;startingPage(uid,catalogVersion(CatalogVersion.catalog(Catalog.id[default=trainingstorefrontContentCatalog]),CatalogVersion.version[default=Staged])[default=trainingstorefrontContentCatalog:Staged]);urlEncodingAttributes;defaultPromotionGroup(Identifier)[default=powertoolsPromoGrp] ,8796158592040,,,column 11: could not resolve item for homepage| column 11: cannot resolve value 'homepage' for attribute 'startingPage';training;lambda;B2B;training;trainingstorefrontContentCatalog;trainnigproductcatalog;en;(?i)^https?://[^/]+(/[^?])?\?(.\&)?(site=training)(|\&.)$,(?i)^https?://training.[^/]+(|/.|\?.*)$;true;$storefrontContextRoot/?site=training;homepage;storefront,language,currency;
I want to see my training storefront site in wcms cockpit help me in this
Hi Anupam
I assume you wish to link 'Homepage' created by first impex
INSERT_UPDATE SiteMapPage;&siteMapPage;code(code)[unique=true];frequency(code)[unique=true];priority[unique=true];active[default=true]
;Homepage;Homepage;daily;1.0;;
with CMSSite using your second impex. If this is the case, then just change the value 'homepage' to 'Homepage' with an upper case 'H' and you should be fine.
If things still don't work, go to CMSSiteModel and search for attribute 'startingPage' and see its type. For example it's type can be AbstractPageModel. Then go Backoffice -> WCMS -> Pages and search for the page with uid that you wish to inject in CMSSite (make sure you select the correct catalog version) and copy the exact uid and paste it in your impex. Things should work. Let me know how you go.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
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.