Thursday, 4 February 2010

SNTT: create initial ACL on database create from template

This one is in Lotus Notes for ages, so maybe you already know it.
I had not been using it for a while, but recently re-discovered this little gem. And although not high-tech, thought I would share it.

When creating a Lotus Notes database (or application as it now called) from a template, the database can get a default ACL (e.g. you companies minimum required ACL entries) which is defined in the templates ACL.
Normal ACL entries in the templates ACL are not copied over to the new database when creating a database from a template. But ACL entries marked up in square brackets are copied accross from the templates ACL to the new database ACL (e.g. [my_acl_entry] in a template ACL will get copie to the database.

This screenshot shows an ACL of a template with normal access entries and special entries that are copied to a database when it is created from the template.

Monday, 1 February 2010

Workaround for Xpages file download control bug

Last week I posted about a bug in the Xpages File Download Control.
See the post from 27 januari for details.

We have reported the problem through a PMR with IBM, but that unfortunately only resulted in a response that the problem is resolved in 8.5.1. and it will not be fixed in the 8.5.0 release.

In the PMR response IBM did mention a possible workaround could be found in John Mackey's blogpost and a response to last weeks post from Irina Kojevnikova also pointed to John Mackey's post. And as it turns out John based his code on Irina's initial solution.
In that post the solution to the problem is overriding the file download code with custom code to build the old style url for downloading attachments.
On 8.5.0 Domino the subdirectory is omitted in the file download control, so another work around would be to place replica of the database in the domino data root directory (nightmare for admins).

But John and Irina's solution is cleaner.