Skip to Content

SAP Jam: referencing a JavaScript library in an OpenSocial Gadget

Jun 20, 2017 at 07:01 AM


avatar image
Former Member


I'm learning to create OpenSocial Gadgets and to register them with SAP Jam.

I uploaded test HTML/CSS/Javascript files to my own server: the URL to the main HTML page displays fine, including the menu icons that are embedded within a .JS file. But when I access the same page (via the XML wrapper file) from my SAP Jam page, I can see everything, except for these icons. The relative path to the .JS file is correct.

I found this information in this article: "When you deploy addition resources that the gadget users, such as JavaScript files, style sheets and images, you can use the registry based gadget deployment model supported by WSO2 Gadget Server."

Does SAP Jam support such a "registry based gadget deployment model", like WSO2? Otherwise, is there another way to reference my .JS files?

I would appreciate any help on this. Best regards.

10 |10000 characters needed characters left characters exceeded
Former Member

Update to the question above: the missing icons are actually embedded in the CSS file, not the JS file. I apologize for the confusion.


Can you provide a snippet of how you are trying to embed them in the CSS file?

* Please Login or Register to Answer, Follow or Comment.

0 Answers