Generic XPages iWidget for IBM Connections

Niklas Heidloff | 06:46:30 AM October 2 2012
Yesterday I blogged about a generic HTML iWidget. The main purpose of this widget is to allow community moderators to extend communities without having to deploy new iWidgets for every extension. Having to deploy new widgets is not easy in some IBM Connections deployments since the community moderators are typically not the administrators with rights to run wsadmin commands and such.

For that same reason I built another generic widget - an XPages iWidget.

XPages has supported iWidgets for quite some time. iWidgets can easily be defined in Domino Designer via the Component design element. The (URLs of the) XPages iWidgets can be deployed to Connections like any other iWidgets.

With the new generic XPages iWidget only the generic widget has to be deployed once. After this community moderators can simply add one or multiple instances of this widget to their communities and enter the URLs of the XPages.

Watch this video to see the widget in action.



Later I'd like to extend the widget. As for the HTML widget I want to be able to switch into edit mode from the menu rather than a link in the view mode. I'm also not happy with the automatic resizing of the iframes in which the XPages are run. Right now developers need to do some configuration in the widgets' edit modes and they need to use a custom control in the XPages. I hope this can be avoided but so far I haven't found a good solution (cross domain iframe communication and different browsers challenges).

I want to open source the widget soon on OpenNTF and also deploy it to the image that developers can use for the OpenNTF development contest.


  • Comments [6]


1Vitor Pereira  10/2/2012 9:21:12 AM  Generic XPages iWidget for IBM Connections

Great stuff as always. Is there any way you could use the communityUuid for messaging between the container and the XPage? Making it dynamic?



2Niklas Heidloff  10/2/2012 9:50:22 AM  Generic XPages iWidget for IBM Connections

Vitor, great idea. That should indeed be possible since as far as I know that id should be available in the XPage as well. Maybe this plus the widget title. I'll give it a try when I'll find the time.




Discussion for this entry is now closed.