#oldschool @formula to check for attachments

I have started at a new company and they didn’t have an XIC (XPages Information Center) so my XPages Knowledge db needed to be installed (a regular Notes db for quickly copying & pasting rich text, snippets, storing sample applications, multiple media files).

The database is a couple of years old so it needed some updates. One was to hide a “files section” from printing in case there are no files attached. I noticed embedded images start with an “ST” naming in the @attachments array (correct me if I am wrong).

Finally I came up with the following rule for a computed sub form:

REM{“check if files contains a point. embedded images do not contain them”};
@For(n := 1;n <= @Elements(files); n := n+1;

Tagged with: ,
Posted in @Formula

Engage – signed up

Funny, but a motive when moving to Sweden was to combine work with a bit of holiday. Recently I signed up for the Engage event and will do it the other way around in the Netherlands: combine holiday with a bit of work.

I am looking forward to the event because of it’s great line-up. I am curious how the ‘collaboration market’ nowadays looks like in the Netherlands and Belgium and what the opportunities are.


Tagged with: ,
Posted in Education

Single Page Application tutorial

After watching the video on YouTube on the Single Page Application wizard I became curious and decided to take a test and mobilize an application myself. I choose the infamous “fake names” application for this.

I have written a blog article/tutorial about it. Here you can read it: ‘Single Page Application Wizard‘.


With the Single Page Application control you can rapidly mobilize a Notes application. The wizard is intuitive although you need to understand some basics of mobile development.

Unfortunately the wizard is not complete and forces you to apply some coding.

Infinite Scroll

The infiniteScroll property for a Data View control is enabled by default in the Singe Page Application. This great new feature allows users to fetch new rows of data by scrolling down the list.

You are almost stupid if you disable this feature.


  • Ability to apply basic CRUD Tab Bar Buttons to a Document Viewer Application Page.
  • On a Document Viewer page it would be easier to add fields instead of removing most of all the fields that would otherwise be applied by default. In mobile apps the number of fields you want to display is probably less than in a Notes client application.
  • Ability to re-open the wizard after you have pressed ‘Finish’.
  • It would be great to have message popups when a user performs an action that he/she is not allowed to do. At the current stage there is default no mechanism for this. Examples: “You are not authorized to perform this action”, “You have insufficient access rights”.




Tagged with: , , , ,
Posted in Mobile

Go Connect Go!

With IBMConnect about to start I updated my collection of blog posts about the XPages technology. I started collecting in 2009, directly after Lotusphere where it was one of the highlights at the show. I remember that the blogosphere exploded after/during Declan Sciolla-Lynch‘s tutorial.

The earliest post about XPages I have collected is  HND 102: IBM Lotus Domino Designer in Eclipse: Create and Work with XPages Hands On (January 2008). The latest post that I added yesterday is ‘Changing the Output Tag on a Computed Field in XPages’ by Brad Balassaitis.

The counter for my XPages db is at 1993 entries at the moment. I am 100% sure it will the ‘magical’ 2000 number during IBMConnect 2014. Therefor I cannot wait for the event to kick off!!


Hmm reminds me I should update the following tribute music-clip: Teachers.

Tagged with:
Posted in XPages

Use SourceTree for better XPages Source Control (some sort of transcript)

I bet everybody enjoyed David Leedy’s Use SourceTree for better XPages Source Control video-tutorial. At the time I was looking at SourceTree so David’s guidance came in the right time.

To assist my fellow colleague developers I wrote a document or some sort of manual on using SourceTree for source control and I used David’s tutorial for a transcript.

I hope you enjoy reading it.

Use SourceTree for better XPages Source Control

Job Wanted

Looking for a creative brain? Choose me!


Tagged with: , , , , , ,
Posted in Education, source control

Local development environment

I needed to setup a new development environment because we moved recently from Windows XP to Win7 (yihaa! I am a corporate developer). Because my ‘closest to administrator’ like co-developer (an ex-admin who we have convinced to development!) is on parental leave I had to clear the job myself. This is how far I came so far:

  • Virtualbox machine
  • Virtual hard drive of 25 GB; will probably create a new clone from this machine for each new project
  • OS: win7
  • IBM Domino 9.0.1 Social Edition (hurrah!)
  • IBM Notes 9.0.1 SE (hurrah hurrah!) Administrator/Designer/Notes clients

Notes installation

I could not find quickly a proper guideline how to setup a Domino server on a local PC. In case you happen to know one I invite you to share it. Or you may write a new one from scratch of course. You do not really need one, but guidance feels always comfortable.

After the installation I launched the server. When completed I could access the server via HTTP ( or localhost).

Unfortunately the IBM Domino Console program is unable to connect to the server (message: Either the server controller is not running on host admin-PC or is not listening on port 2050). :-/

When completed I launched the Administrator client to alter the server configuration. I was unable to open the server by name e.g. dev1/acme. From a late administrator experience I remember that updating the host file on your OS make your local server better traceable. So I added        dev1/quintessens #notes clients        dev1.quintessens.com #web browser clients

This did the job for me.

Later I read on stackoverflow not to install the Designer client under program files. Not sure why but I can always re-install it.

Domino administration

If you want to have a short introduction on administering a local Domino development server I suggest you read the following post: The blagger’s guide to XPages Domino administration. Always nice to know some server console commands.


For now this local development environment seems to work for me.

I have not setup mail-routing yet but it would be nice to have (local) mail routing available for a couple of test users.

Would be nice to have the server console program working though.



Tagged with: ,
Posted in development

Using Bootstrap in XPages – The ultimate incomplete guide

This document describes how to integrate the popular front-end framework Twitter Bootstrap with XPages. The purpose is to provide developers an introduction to use Twitter Bootstrap in XPages development projects by building an actual application.

Below you can find a document/manual I started to write a while ago but I never finished (I guess there is no finish since new boundaries are explored every day). At least the document should give you a head start with using ‘raw’ (Twitter) Bootstrap in XPages. I also recommend you to take a look at the Bootstrap4XPages project on OpenNTF since this project offers lots of ‘out of the box’ conversions of components from the Extension Library (e.g. data view control).

Bootstrap in XPages

Enjoy reading!

Tagged with: , , ,
Posted in XPages
Looking for a new challenge
After an x number of years working in the same environment I have decided to look for a new challenge. Are you looking for a smart companion?

You can download my curriculum vitae here.

I am Patrick Kwinten. I am a IBM Notes Domino Product Specialist since 1996. With this blog I am trying to give my contribution to the community.
Read my profile & follow my projects on
RSS Feed

Get every new post delivered to your Inbox.

Join 184 other followers