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.

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