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

Smartedit Extension JS not available on Commerce Cloud 1905

dominik_messmer
Discoverer
1,046

When I deploy Smartedit Extension on Commerce Cloud the following JS files from the folder "jsTarget" are not available.

*smartedit.js
*smarteditContainer.js

After the login to Smartedit the page shows blank and the browser console says vendor_chunk.js cant get these files.

At my local development environment and the test server I can reproduce it if "ant npminstall" was not executed and the folder "jsTarget" was not generated.

I already tried to add the npmancillary dependency to smartedit extensioninfo.xml.

<requires-extensionname="npmancillary"/>

Found this related topics but nothing helped:

https://enable.cx.sap.com/media/Build+a+SmartEdit+Extension+Using+Grunt+-+SAP+Commerce+Cloud/1_sbre9...

https://launchpad.support.sap.com/#/notes/2814310

https://help.sap.com/viewer/86dd1373053a4c2da8f9885cc9fbe55d/6.5.0.0/en-US/ad424f0b4381401e899c54ce7...

Accepted Solutions (0)

Answers (4)

Answers (4)

dominik_messmer
Discoverer

Browser Console says

vendor_chunk.js:2 GET https://backoffice.c2369d-siemensag1-d1-public.model-t.cc.commerce.ondemand.com/siemldasmartedit/sie... 500 Internal Server Error`

The error only occurs in the cloud environment. On local and test environment it looks like this.

Does anyone have an idea what the reason for this might be?

0 Kudos

Hi Dominik,

Did you get any solution on this smartedit blank page issue?

Thanks!

dominik_messmer
Discoverer
0 Kudos

Unfortunately not, I'm in contact with SAP Support, but so far they couldn't help me.

There was a fix for the 1905 version but it did not work for me.

https://help.sap.com/viewer/b2f400d4c0414461a4bb7e115dccd779/v2005/en-US/3462d2d271bf4277aadfc8ae961...

The following note is also important to override the buildcallback.xml

"Yes, you can override OOTB extension. Simply put the modified files under folder "CUSTOMIZE " and put folder "CUSTOMIZE" under folder "core-customize"."

Meanwhile we are on version 2005 and it still throws the same error after creating a custom Smartedit Extension.

I think in the cloud environment the npminstall is not executed although it is stored in the manifest.json.

0 Kudos

Hi Dominik,
I'm facing the same issue, were you able to resolve this issue?

Thanks

0 Kudos

Same issue. Did you manage to resolve it?