cancel
Showing results for 
Search instead for 
Did you mean: 

Error while integrating Custom Widget in SAP SAC

Dipankar
Participant
0 Kudos
1,590

Hi

Following below tutorial of creating a custom widget and its integration in SAC has been quite an interesting one. But I am facing a problem during integrating it to SAC , below is the error

app.chunk.65.slice_of_main-chunk.f1c9daf3262b70ecc205.js:20 Something went wrong. The system couldn't load the custom widget 'com.sap.sample.customwidget1_1.x' (kind: 'main') for this reason:


errorcw.jpg

Tutorial Video

https://blogs.sap.com/2020/01/28/your-first-sap-analytics-cloud-custom-widget-part-1/

SeerOfSig
Product and Topic Expert
Product and Topic Expert
0 Kudos

Can you click on "expand" and provide the full error message? The extra information may provide the reason.

Accepted Solutions (0)

Answers (1)

Answers (1)

Dipankar
Participant
0 Kudos

@peter.kreutlein this is the error i am getting.

ferrygun18
Contributor

Hi Dipankar,


Can you check in JSON metadata under WebComponent section if the URL link is correct.

Like for my case below, it is pointing to the http://localhost/SAC/sacmultiinput/multiinput.js

Regards,

Ferry

"webcomponents": [
    {
      "kind": "main",
      "tag": "com-fd-djaja-sap-sac-multiinput",
      "url": "http://localhost/SAC/sacmultiinput/multiinput.js",
      "integrity": "",
      "ignoreIntegrity": true
    },
    {
      "kind": "styling",
      "tag": "com-fd-djaja-sap-sac-multiinput-aps",
      "url": "http://localhost/SAC/sacmultiinput/aps_multiinput.js",
      "integrity": "",
      "ignoreIntegrity": true
    }
  ],