cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Jam: referencing a JavaScript library in an OpenSocial Gadget

Former Member
0 Kudos

Hello,

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.

Former Member
0 Kudos

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

Adam_Stone
Active Contributor
0 Kudos

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

Accepted Solutions (0)

Answers (0)