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

Smartedit mode not working properly

0 Likes
1,660

Hello experts,

I have successfully integrated the smart edit into my storefront by following the guidelines as provided in the documentation. However, after I had logged in to smartedit and choose site and click on a "HomePage" of online catalog I see next popup

and storefront is not loaded.

If I click the "Preview mode" the link storefront is not loaded either.

Please advice what can be the issue ?

Thank you,

Marian

Accepted Solutions (0)

Answers (2)

Answers (2)

claudiafernandes
Explorer

It's probably too late to help you with this. But when I was setting up the demo, I had the same issue, and it was because these were the default values of SmartEditConfig in smart-edit-feature.module:

provideConfig(<SmartEditConfig>{
smartEdit: {
storefrontPreviewRoute: 'STOREFRONT_PREVIEW_ROUTE_PLACEHOLDER',
allowOrigin: 'ALLOWED_ORIGIN_PLACEHOLDER',
},
})

You need to change it to this, so it can connect to the backoffice:

provideConfig(<SmartEditConfig>{
smartEdit: {
storefrontPreviewRoute: 'cx-preview',
allowOrigin: 'localhost:9002',
},
})
asw0014188217
Explorer
0 Likes
I just had the same issue.
0 Likes

No errors in web console or tomcat console on this step.

If I click on a preview mode link I see the exception with error message:
"Cannot find a composer type."