Question

I've followed the procedure documented at "Adding new ways to share content"

...but keep getting an error:

Failed to preload gadget http://....

Detailed error: 400 Gadget is not trusted to render in this container. cre.iruntime:cre.iwidget.event:cre.wire:cre.iwidget:cre.iwidget.itemset:cre….ibm.connections.ee:ibm.connections.ee:container.nongadget:open-views.js:4

sharebox error http://i7.minus.com/ibiLz4SSWA5EL8.png

This looks like some sort of trust problem with external servers, but my other gadgets (embedded experience & home page gadgets) on the same external host are all working fine.

What have I missed out in the configuration?

Was it helpful?

Solution

OK, shamefully, it looks like I missed out swapping the security attribute whitelistEnabled="true" to whitelistEnabled="false" in:

/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/config/cells/connectionswwCell01/LotusConnections-config/opensocial-config.xml

Here:

<security whitelistEnabled="false" featureAdminEnabled="true">

More details in this slide: How to add your own OpenSocial Gadgets to IBM Connections.


Of course, in a production system, you'll have to checkout the opensocial config using wsadmin.sh, edit, checkin & restart.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top