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

Getting error: "InvalidStorefrontPageError" in the browser console when trying to view the storefront in preview mode in smart edit.

Former Member
0 Kudos
1,492

Hi All,

I am working on integrating smart edit with our custom code base on hybris 6.3. the ant build and server startup went smooth and the smart edit login page comes up normally, i login to smart edit using different credentials than cmsmanager (another user is created in our project). when i click on either of the versions of content catalog, the site opens in the preview perspective in the smart edit. even after the site loads completely, i get a page loading symbol on the top, because of which i cannot do anything on the smart edit screen, when i see in the browser console, i get the error given in the attachment, since i am not very good at JavaScript/AngularJS or the sorts, i am unable to find what is causing this. could anyone please help me out?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi All,

For solve this issue you just did to update yout CMSSite with this impex. The problem is because the smartedit can't find the storefront name.

 UPDATE CMSSite ; uid[unique=true] ; previewUrl
 ; powertools       ; /yb2bacceleratorstorefront/?site=powertools

In my case the problem is for powertools store.

Best Regards,

0 Kudos

I am also facing same issue. But i can able to resolved by adding following class attribute value for body tag

  • smartedit-page-uid-${cmsPage.uid}

  • smartedit-page-uuid-${cmsPage.uid}

saket_chiluveru
Product and Topic Expert
Product and Topic Expert
0 Kudos

HI,

Can you elaborate on how you fixed this issue ?