XML4j.jar and LotusXSL.jar installed on server – How to investigate which applications are using them?

We have some additional programs installed on our servers which are a legacy of previous versions of Domino. With the preparation for an upgrade to 8.5 we are investigating if we still need them.

For example in the Notes 8 Designer Help I read:

Lotus Domino Designer includes the XML4J parser and LotusXSL processor in the product so you can parse and transform XML data without a separate download.

  • What is the easiest way to investigate if any application is still using these programs?

(ps our environmentscomes near to 10.000 applications)


Implementing ImageFlow in a Domino app

For my ‘photogallery’ application I got a bit tired of the Smoothgallery implementation. Basically I was looking for sometime more attractive and less ‘busy’. That is when I bumped into ImageFlow a JS image gallery in a iTunes alike way (and probably more Apple software which I do not use).

Here is what it looks like in my app:

this is how it looks in my app

Some rules for implementing ImageFlow in your Domino app:

  • ImageFlow is written for PHP applications, so for each image you include the reference gets rewritten in a following format:

<img width=”400″ height=”300″ alt=”Image 4″ longdesc=”img/img1.png” src=”reflect2.php?img=img/img1.png” style=”cursor: default; display: block; left: 351.665px; height: 329.215px; width: 292.635px; top: 118.524px; visibility: visible; z-index: 18;”/>

If you look at the imageflow.packed.js package you get lost since it is packed. Dive in the imageflow.js and search for the following lines:


var src = node.getAttribute(‘src’,2);

//src =  ‘reflect’+version+’.php?img=’+src+thisObject.reflectionGET;

Change the last line into:

src =  src+thisObject.reflectionGET;


Then upload the following files to your database:

  • imageflow.css
  • imageflow.js
  • slider.png (the dot image that is used on the slider)

In the download on the ImageFlow site in the index.html you find the source how to structure your HTML. Modify the references to the images in your Notes app and you are good to go!

Happy coding =)

Implementing Smoothgallery into a Domino application

It was a while since I opened my Designer client for developing a new project due to other responsibilities. At this time I am prototyping a basic Notes application where users can upload images via the Notes client and browse through them via a Web browser.

So what is the status? Well in a couple of days I have come pretty far:


  • a project name for the application (you have to start with something)
  • upload (of multiple ) images via the Notes client and automatically creating thumbnails – checked
  • a nice interface for the Notes client – checked
  • an attractive layout for the Web client – checked
  • a lightbox function for display the high resolution images with a faded application in the background – checked
  • different ways to navigate trhough the application (by categorie, tags, by author, archive, calendar) – checked
  • additional features as RSS, simple search, option to leave comments – checked
  • login function so a user can easily see his/hers contributions – checked


In the startpage I have the following features:


  • a sliding gallery based upon Smoothgallery more about this later 
  • overview of the last 3 added pictures
  • an overview of the last 3 comments
  • an archive overview
  • a section with some contact information


Well I still have something left in my wishlist:

  • XPaginate (is that correct?) the application ofcourse haha
  • add an option to send email to people with a link of the image
  • upload functionality from the Web client
  • improve the search functionality (at this point it searches a view)
  • … some more spice probably


Well this post is about the Smoothgallery which was really easy to implement. The gallery has the follwoing functions:

  • a (main) slider for showing medium sized images, with previous and next image function
  • a slider for showing thumbnails, this slider has a mouse-over sliding function
  • some text / description that will be displayed as a layer on top of the current image in the (main) slider

Let me start by showing you some end-result, here is an image of the gallery as it will be presented by default. I marked the 3 sections described above:


gallery image
gallery image


So how did I get this to work?

Start coping the files under the directories CSS, Images and Scripts in the download to your Shared Resources \ Files section. The gallery uses the  MooTools JS Framework.

To get the files loaded add the following references in your HTML Head Content:


html head section
html head section

Add also the following JS function somewhere on your form:


JS Function
JS Function

And drop the follwoing code where you want to have the gallery displayed:


gallery position
gallery position

The Computed Text is a @DbColumn to a view:


On the view we say we want to have its content to be displayed as HTML and the view has only one column with the following code:


formula in column
formula in column

(My upload agent creates 3 kind of images for each upload: 1) the original size 2) a medium size 3) a thumbnail size. You can forget the firstline here in the code)

Is that’s it? Yeah! In practically half an hour job I had the complete gallery up and running.

Here are some screendumps of the app:




Just let me know if you are interested in more code-drops…

The Lotus Symphony Developer’s Workshop


Symphony API
Symphony API

Today I received a question from a developer who received the question from a customer to store Notes documents as PDF’s via a scheduled agent.

I remember the workshop “The Lotus Symphony Developer’s Workshop” @Lotusphere where in one of the excercises you transformed Symphony documents as PDF’s.

John D. Head wrote in the BP110 presentation:

“We can use a Java Agent to automate Symphony”,

which tends me to say: Yes, it should be possible to convert Lotus Notes documents to PDF using Lotus Symphony on a scheduled basis. Or am I wrong?

Ps. Has anyone the material/excercises/instructions from this hands-on lab?

2 embedded views on a form, one not showing :-?

I thought this way something of the past, but currently I am struggling with 2 embedded views on a form. Basically I was adding a tagcloud in Jake’s Blog template on the $$NavigatorTemplate for webLaunch form.

This form uses an embedded view to display a first amount of blogs. So I added a second embedded view below the document, just as Ferdy describes in his tagcloud approach. But the JS array tagMap (tip: define it as var tagMap= {};) showed no values. So after some other approaches I deleted the first embedded view and the tagcloud appeared.

Question: “Are 2 embedded views still not possible?”

Photo gallery – Some clues?

I have recently written a proposal to a customer regarding the development of an application where the customer can easily upload images and share them in the organization. The customer is working for a marketing department so probably it will be high-resolution pictures they want to share.

In my proposal I wrote that the application would combine techniques that are already available in the ‘Domino world’ to reduce the amount of development hours.

For example, for uploading and creating thumbnails automatically the ‘Picture Gallery‘ project on OpenNTF contains some Java ScriptLibraries that do that work for you. The libraries you can almost as good as copy & paste in your application.

However I have some doubts how I want to display the images. 

  • The SimplePhotoAlbum uses flash and it looks like it is not using thumbnails but it is loading the high resolution pictures as thumbs. The same goes for Dewslider which seems easy to integrate.
  • The gallery for the PictureGallery is not working on my local machine. The other project Domino-Piclens has nothing released.
  • Unfortunately Philippe Gauvin has stopped blogging but he has some good examples using Lightbox and JonDesign’s Smooth SlideShow.
  • Also Michel Van der Meiren describes his trimmed variant of Lightbox.

One feature that I have added in my project description is the possibility to comment on individual photo’s. But this is more a nice to have.

So where to start? Or what to choose? Did I forget an option? And ofcourse is there something you can share?

My thoughts are to distribute the end-result here as a download or on OpenNTF as a project, but then again I do not think that it will a continuous development…