Monthly Archives: January 2012

Check out the new store at XPage Developer

XPage Developer Shop

Soon you can thru out Active Directory

Samba 4 will soon released and that that can replace your Active Directory with it.

Check out the great presentation with Guy Kawasaki

This is the opening session from IBM Connect 2012 but the best part is Guy Kawasaki
So if you don’t want to see everything you should fastforward until 37 minutes into the show

Watch live streaming video from ibmsoftware at
There is also another interview with him, great stuff.

ibmsoftware on Broadcast Live Free

Standby Custom control what does it do

I have added my first XSnippet today and it’s the Standby custom control.
If you add the code to a custom control and drag in into an XPage all events done in this XPage will be intercepted and if the event taks more than 200 milli seconds the dojo standby widget will show up and prevent the user from clicking. 


Some of the code were originally created by two great XPage guys
Tommy Valand and Serdar Başeğmez 

Lotusphere Live Stream

Watch the Lotusphere 2012 live stream here

Watch live streaming video from ibmsoftware at

How to prevent databaseName to change datasource

Sven HasselBach blogged (Link) about that you could change the datasource of any XPage using a url parameter called databaseName. Doesn’t ACL apply you might ask. Yes it does so that isn’t a problem.
OK, isn’t there a setting to ignore url parameters, yes there are but If you use this you will get problems with the built in controls. They use url parameters.

Is this a problem then ACL apply shouldn’t that be enought?
No because there might be some databases where the user should be able to create documents in.
and this could create documents of a certain type in a database were they shouldn’t be.  

To prevent the use of the databaseName parameter I have created this code that you can place in the onClientLoad event in a customcontrol or directly in an XPage

 var url=context.getUrl()