on ‎2018 Feb 22 8:53 AM
Request clarification before answering.
Hi,
please, check if in local.properties you have this properties:
website.{site}.http=http://apparel-uk.local:9001/{storefront}/?site={site}
website.{site}.https=https://apparel-uk.local:9002/{storefront}/?site={site}
(Replace {site} and {storefront} with your local site id and storefront id.)
Also, you can check in HMC or Backoffice your site configuration. It must be set in the cockpit section: a preview url, default homepage and default content catalog like this images:


Do you have a Javascript errors in the browser console when you open the site in the smartedit?
Thanks, Tommy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check if you have proper PreviewURL set for your CMSSite. The details are here https://help.sap.com/viewer/86dd1373053a4c2da8f9885cc9fbe55d/1811/en-US/0e897cfaecb6445dba48ef18d8b5...
Previously I had something similar to:
/?site=electronicsand I changed it to include full path:
https://electronics.cloud/?site=electronics
That solved my endless loading issue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, I have the same problem, endless loading, no error, I include js manually in my master tag, but it doesn't work. Any solution? BTW I am using Hybris 6.6
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Edvin. Endless loading means that smartedit addon were not installed correctly. Reasons can be different and browser consol where you certainly have warning does not really give clues. I faced with such issue after migration from older hybris version where desktop UI experience level was used. If you have the same problem you just need to customize a little bit smarteditaddon/web/spring/smarteditaddon-web-spring.xml to use correct beforeViewHandler. I have also found cases when sometimes there problems with storefront extensions generated from b2baccelerator - in such case you I assume there are some ways to overcome this problem either. Wish you luck!
Hi Edvin. I checked our changes - we had changed xml by substitution of beforeViewHandlersList to defaultBeforeViewHandlersList (there are two places in xml). I really did not remember why it got incorrect bean when used beforeViewHandlersList but after this change everything worked correctly for Desktop UI Experience level. I hope it will help you!
Hi Edvin ..
Make sure the configuration on SmartEdit has just the following,
storefrontPreviewRoute:"cx-preview"
previewTicketURI:"/previewwebservices/v1/preview"
applications.cmssmartedit:{"smartEditLocation": "/cmssmartedit/cmssmartedit/js/cmssmartedit.js" }
applications.cmssmarteditContainer:{"smartEditContainerLocation": "/cmssmartedit/cmssmartedit/js/cmssmarteditContainer.js" }
defaultToolingLanguage:"en"
whiteListedStorefronts:[]
applications.<yourextensionname>:{"smartEditLocation": "/<yourextensionname>/<yourextensionname>/js/<yourextensionname>.js"}
applications.<yourextensionname>Container:{"smartEditContainerLocation": "/<yourextensionname>/<yourextensionname>/js/<yourextensionname>Container.js"}
Note:
Hope this helps ! Good luck.
Make sure that you have all the necessary host file entries, i.e.:
127.0.0.1 powertools.local electronics.local
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I would say that one possible way is to reinstall the smartedit extension. I was facing that problem sometimes, I don't know the reason, but reinstalling helped me out.
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 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.