For a project I was asked to deliver a new user interface for the web browser with the help of XPages. This included a search functionality.
First step: Look on OpenNTF
OpenNTF is a great resource to check if someone has done development before and has made the code available for public.
Here are some results that offer some form of search out of the box:
- Advanced Search XPage Control (link)
- Xpages Multi Database Search Custom Control (link)
- Xpage Search And Tagcloud control (link)
- XPages Basic Search (link)
I decided to go for the Advanced Search control. In case I have missed a great project on OpenNTF that provides a good search please drop a line in the comments.
Step 2: Modification
The Advanced Search control did not use any fancy from the extension library. So instead of the viewPanel control I decided to use the dataView control, plus the tooltip control to reduce the initial amount of text on the screen. Then I added some pagers from the extension library control again and voila here is the result:
So my search is ready in a couple of hours. Who says XPages is not rapid application development?
A big thank you to all those who contributed their work to OpenNTF!
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
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 (127.0.0.1 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
127.0.0.1 dev1/quintessens #notes clients
127.0.0.1 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.
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.
I was reading an article on Smashing Magazine and noticed somewhere a link to CV Parade. I was a bit shocked about the state of my own CV (still in a deadly boring Word document) so I decided to polish it up.
Below is the result:
Here is link for download as PDF: 20111003 – Curriculum vitae Petrus Kwinten
In short words: the control enables to publish an image slider on your Xpage. A sample is demonstrated in the following image:
You can download the control here. Have fun!