0

I am trying to setup SmartEdit with SPARTACUS 5.2, I tried following the document in the SAP Help Portal > SAP Commerce Cloud, composable storefront > Integrations > SmartEdit > Integration.

I am able to login but Perspective Toolbar is missing at the top. Also it will be in loading state as shown below.

enter image description here

Below is Spartacus changes

  1. Added the below snippet in angular.json file
    {
       "glob": "**/*",
       "input": "node_modules/@spartacus/smartedit/assets",
       "output": "assets/"
    }
    
  2. Changed the spartacus-configuration.module.ts as below
    provideConfig(<SmartEditConfig>{
      smartEdit: {
        storefrontPreviewRoute: 'cx-preview',
        allowOrigin: 'localhost:9002',
      },
    }),
    
  3. Added the URL in whiteListedStorefronts
    ["https://localhost:4200"]
    

But still, my SmartEdit shows the loading state.

I checked the network tab and I don't see webApplicationInjector.js call failing , It gives 200 OK.

Is there any other configuration I am missing? Thank you for your help

Sandra Rossi
  • 11,934
  • 5
  • 22
  • 48
Yash
  • 13
  • 2

0 Answers0