Fiddling with Tika in XPages  

By Patrick Kwinten | 4/1/25, 2:37 AM | Development - Notes / Domino | Added by Roberto Boccadoro

We have the annoying behaviour in an XPages application that users tend to select encrypted or password protected files from their local machine or some sort of expensive drive. The application manages the process for new products or services and when a decision has been taken for the proposal all the attached files will be combined in a single PDF file and stored in an archive. This combining process does not work well with password protected or encrypted files so either we should disallow the upload of such files or (when nobody has complained (read) about these files) they should be skipped to be combined in the final decision. But prevent uploading should be better of course (and notify the user about the file issue). So where do you start? Tika claims to be the content analysis toolkit so no looking further you would think.

Reducing the noise in the log – Update  

By Patrick Kwinten | 3/26/25, 3:06 PM | Development - Notes / Domino | Added by Roberto Boccadoro

After our team used the changes I made in the log application to reduce the noise for a couple of weeks we gathered user feedback and reviewed it and we came to the following improvements:

Reducing the noise in the log   

By Patrick Kwinten | 2/20/25, 3:03 AM | Development - Notes / Domino | Added by Roberto Boccadoro

Every Domino environment has got logs and probably it's not you who goes through the logs since it's a repetitive mind-numbing task. Here too, but sometimes the colleague who performs the task takes some days off and then it might be you who is responsible for doing it. So last week I was “screwed” and was searching for a quick solution to minimalize the mind-numbing without risking to overlook an important log-entry. Here is what I came up with:

Source code issue with alternative usage view columns  

By Patrick Kwinten | 2/4/25, 5:11 AM | Development - Notes / Domino | Added by Roberto Boccadoro

In a previous post I demonstrated how you can improve the usability of image resources by switching alias and file name. It works fine until you start synchronizing with your On Disk Project. While a normal image resource contains of the image file and some metadata but when you change the filename with the alias and vice versa Designer no longer detaches the graphical file and only writes the metadata file to the ODP.

Do Crazy Innovative Things in the Notes Client  

By Patrick Kwinten | 1/29/25, 5:04 AM | Development - Notes / Domino | Added by Roberto Boccadoro

In February OpenNTF organizes a webinar titled ‘Do crazy innovative things in the Notes client‘. I am sure (from first hand experience) that Bernd Gewehr has pushed his developers to stretch the limits about what is possible to do in the Notes client. Recently I have been doing some development for the Notes client and you an easily bump to the limitations. I will write about some things that I applied to the application that I was working on.

Handling UserAccessException  

By Patrick Kwinten | 1/28/25, 2:02 AM | Development - Notes / Domino | Added by Roberto Boccadoro

The almost standard way to work at the company is to work in a committee. So almost everyone is member of one or more committees for different types of work-areas. Commitees have restricted access and organize agendas and meetings where decisions are made. Agendas, meetings and decisions are shared via mail and these mails are again shared. Curious people try to access the committee documents via URL’s although they have no access to the committee and then the UserAccessException occurs.

Improving the usability of the view column icon – Kwintessential Notes  

By Patrick Kwinten | 12/17/24, 2:54 AM | Development - Notes / Domino | Added by Roberto Boccadoro

IIcons are a great way to let certain document information standout in a view with minimal space. I assume you know you can add icons to a Notes view , right? Although the icons are out of date , limited and don’t support accessibility much, there is a way to add show them in a view with some added value. How? I will show you…

Getting column colouring out of the view design   

By Patrick Kwinten | 12/12/24, 12:13 PM | Development - Notes / Domino | Added by Roberto Boccadoro

In Notes you can define the row color in a view programmatically. In the example you still hard-code the colors (and conditions) in the column, and so the design of the view. So if you want to change the colors and conditions you need to change the design. In an environment with restricted access to Production or CICD processes in place this takes a long time and it includes the intervention of a developer. I am not sure when but somewhere in time the “User definable” option for the column value was introduced.....

Another dev attempt comes to an end – row coloring  

By Patrick Kwinten | 12/6/24, 7:30 AM | Development - Notes / Domino | Added by Roberto Boccadoro

For an application I want to be the row colourings in the Notes client manageable, from a (profile) document or something similar. I chose a profile document instead of a named document since the named document lacks methods to access via @formula and if you want to open a document from a outline entry you only have the @formula option…

Show/Hide column in a NotesView  

By Patrick Kwinten | 11/30/24, 3:25 AM | Development - Notes / Domino | Added by Roberto Boccadoro

Most applications have different types of users. Some are normal users, some are power-users and some are administrators for the application. Mostly we provide different sets of views for these user categories and to optimize performance and indexing these users sometimes share the same views. But the information in that view is not always useful all types of users.

Sort it out (your JSON collections)  

By Patrick Kwinten | 11/8/24, 3:49 AM | Development - Notes / Domino | Added by Roberto Boccadoro

The day after the US elections. Time to sort it out. Not the election results but the collections in the Run4Fun application. I hope you like lists with JSONObjects in your XPages application as much as I do but what you see is normally the order you stick the objects in the list. If you want them to have sorted in a certain way, perhaps by a certain key (firstname, lastname, email, age, time etc) either you have your source (a NotesView?) adapted to it OR you have to apply something that does that to your objects in the list. That something is called a comparator.

Partial refresh gone bad   

By Patrick Kwinten | 11/4/24, 3:43 AM | Development - Notes / Domino | Added by Roberto Boccadoro

For a (very) large and complicated intake form I have checkboxes that based upon the value (checked/unchecked) should calculate the visibility of multiple sections of the form. I guess most of us remember Tim Tripcony’s comment on a question about partial refresh on SO. That seemed to work fine from scratch but the intake form has grown and grown during the years due to regulations and the responses from the chained xsp.partialrefreshget calls gone bad. As a result sometimes the other sections pop up very late or not at all ��

Issue with old Domino JAVA agent  

By Patrick Kwinten | 8/29/24, 11:37 AM | Development - Notes / Domino | Added by Oliver Busse

I got the request to extend the summary report in the email message that a scheduled Domino agent is sending out. In the report some lists of missing data in the database needs to be added so users can work more efficient. So what do we do?

Multiple emails control for Xpages  

By Patrick Kwinten | 6/20/24, 3:29 AM | Development - Notes / Domino | Added by Roberto Boccadoro

For a project I received a request to enable to enter multiple emails in a field. These emails are not all registered in the Names & Address Book (NAB) but they come from a 'concurrent' email system e.g. helpdesk@domain.com or groupXYZ@domain.com so a standard names picker was no option. I feared already a support nightmare without any entry validation, because the field was going to be used to send notifications. Here is the list of requirements: Easy to write email. Display of default value(s) or default list options (provided by the application). Support to enter multiple emails. Easy to remove email(s). Validation of the provided emails.

Synchronization between ODP and NSF goes rogue  

By Patrick Kwinten | 1/4/24, 5:07 AM | Development - Notes / Domino | Added by Patrick Kwintensson

We develop in a team an XPages application and we experienced that it takes longer time to build a project and to refresh the design of the templates on ACC and PROD environment. We noticed that a lot of files are being replicated so initially I thought it were the files for web-plugins like Datatables…

Seasonal gift  

By Patrick Kwinten | 12/19/23, 8:55 AM | Development - Notes / Domino | Added by Patrick Kwintensson

Today I posted "Team Documents" as a seasonal gift as a project on OpenNTF. What is it? Well it is a small document management application for the Notes client. What makes it so unique? First, it is wrapped in an OpenNTF styled "gift-paper" as you can see in the next image... Second, it has features… Second, it has features that makes Notes once the most popular document management platform: Authors and Readers access management, Review options, Revision (versioning), Expire settings, (locked) categorizing and Usage of templates.

Using OpenLog for logging/ debugging XPages – Kwintessential Notes  

By Patrick Kwinten | 10/3/23, 2:09 AM | Development - Notes / Domino | Added by Roberto Boccadoro

Today I opened a database where a developer insists on writing almost all code in SSJS. A bit odd because OpenNTF Domino API is enabled and used in this particular application. I guess JAVA is still frightening. But because of SSJS you get unexpected behaviour which are difficult to catch in OpenLog.

XPages hack – visualizing checkboxes that fail validation  

By Patrick Kwinten | 5/6/22, 12:31 PM | Development - Notes / Domino | Added by Oliver Busse

In an application I have added some CSS to highlight fields that fail validation. The css looks as followed: Basically I an looking for the aria-invalid=true attribute on input elements. Works great but not on all input elements. For example re-styling of checkboxes requires some work. But what if you would re-style the element that contains the checkbox?

Sticky headers in Bootstrap from ExtLib  

By Patrick Kwinten | 9/17/21, 9:07 AM | Development - Notes / Domino | Added by Patrick Kwintensson

I received a request from a customer who would like to preserve the action buttons on an XPage when the user scrolls downs a very long form. The application is already using the BS theme from the Extension Library with the sticky navbar option in use so this would implement a second 'sticky element'.

Fixing the Tooltip function in XPages #2  

By Patrick Kwinten | 4/15/21, 5:21 AM | Development - Notes / Domino | Added by Roberto Boccadoro

In a previous post I wrote about the disfunction of the tooltip after validation with the Domino server. It turns out my gigia-form has a lot of fields with visibility properties set that are calculated after partial refresh. To have tooltip fixed for the fields that become visible during interaction with the user I needed to apply another patch.

Fixing the Tooltip function in XPages  

By Patrick Kwinten | 4/14/21, 5:09 AM | Development - Notes / Domino | Added by Andi Kress

A colleague noticed that the tooltip function on a Xpage stopped working after submitting the page to the server and when the validation did not pass. The same behavior occurred when I added a computed text control that would spit out an anchor reference using a tooltip. Odd.

For Nathan T(eacher) Freeman  

By Patrick Kwinten | 4/12/21, 2:29 PM | Business - Events / People | Added by Oliver Busse

Today I read the sad news that Nathan T Freeman is no longer among us. I was actually googling last week, curious what he was working on.

TestiNG XPages  

By Patrick Kwinten | 3/30/21, 5:14 AM | Development - Notes / Domino | Added by Oliver Busse

A while ago I started my journey into testing applications. Like most people I started with Selenium IDE since it’s free, easy to install and setup. The idea was to record the workflow in an application and play it back after the development of every new feauture.

Adding a GDPR message to my XPages app  

By Patrick Kwinten | 5/21/20, 1:10 AM | Development - Notes / Domino | Added by Roberto Boccadoro

GDPR or Cookies plugins are nothing new. A simple search will give you a quick overview which jQuery based plugins are available. So I decided the one that looked nicest to me and implemented it my XPages app. It worked but not when I met a user who was using IE. No JS error or whatever so where to start debugging?

Data for Bootstrap Treeview from a Notes View?  

By Patrick Kwinten | 1/10/20, 12:18 PM | Development - Notes / Domino | Added by Oliver Busse

In a modernization project (increase of browser compatibility) I needed to find a solution for a list of links, categorized and sorted like a Notes View. Since I already use Bootstrap as CSS framework I decided to check the following Bootstrap Treeview project

#Domino2025 Jam ended- Some first thoughts  

By Patrick Kwinten | 12/6/17, 10:09 AM | Infrastructure - Notes / Domino | Added by Oliver Busse

Today I participated in the Domino2025 Jam here in Stockholm. The Jam is organised via a set of workshops around Application Development and Mail & Chat. I will not go into much details to cause a possible spoiler for you but I just want to mention a particular suggestion by an IBM Business Partner.

Source Control disruption in DDE  

By Patrick Kwinten | 8/21/17, 2:00 AM | - | Added by Oliver Busse

In a project me and my colleague faced major complications working towards a GIT repository on TFS. In short: she did not see the changes I had made in her Domino Designer even though her GIT client had transferred everything correctly to the On Disk Project (ODP) on her local drive.

XPages sufficient for line of business type of applications?  

By Patrick Kwinten | 7/11/17, 7:01 AM | - | Added by Kenio Carvalho

I am following another Angular course since it seems to have become the leading development framework at work. So back to learning all the rules within Angular.

Hands-on: Your first GraphNSF  

By Patrick Kwinten | 11/14/16, 2:00 AM | - | Added by Oliver Busse

With more people talking about the usage of Graph data modelling with data residing in IBM Notes documents there is still a threshold getting started writing your first XPages application using the concept or technology.

Send a message from your XPage application to a Slack channel  

By Patrick Kwinten | 10/24/16, 6:23 AM | - | Added by Oliver Busse

While everyone is ‘waiting in vain’ for the delivery of Project Toscana organizations have start using Slack as a modern way to send messages within departments. For an example a operation team is using an instructions quality book build on XPages and it would be great to get notified in your Slack channel when new instructions come in or have been updated.