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.

Using IBM Cloudant with XPages  

By Patrick Kwinten | 10/22/16 7:36 AM | - | Added by Oliver Busse

Last evening I started a little couch development project, in front of the TV. The data I am used to work with is mostly in JSON format already so I read a bit on couchDB. Since my use-case allows storage in the cloud I was curious about Frank van der Linden’s cloudant-connector plugin so I gave it a swing.

Setting up a boilerplate for Angular 2  

By Patrick Kwinten | 10/11/16 8:02 PM | - | Added by Oliver Busse

Working with XPages / IBM Notes you get scare-mongered a couple times a year thatthe whole thing is dead. With the Java vs JavaScript deathmatch not decided yet as ICS developer you might wonder on what train to jump next.

Reading files stored in the NSF webcontent folder  

By Patrick Kwinten | 9/28/16 2:57 PM | - | Added by Oliver Busse

In an XPages application I am creating presentations (openxml presentations is perhaps a more correct defintion I guess). Since I would like to use the template for house-styling I have to read it in from somewhere and use it in my code.

Build JSON from NotesView, support for multiple value fields  

By Patrick Kwinten | 9/26/16 8:34 AM | - | Added by Oliver Busse

An old-fashioned NotesView can be a fast way to define JSON objects. Here is a xsnippet that give you some inpsiration. If you have fields with multiple values then the formula does not work anymore. You want to store an array in the JSON.

2016 OpenNTF Board Elections  

By Patrick Kwinten | 9/19/16 12:55 PM | - | Added by Oliver Busse

I have registered myself as nominee for the position of Contributor Director for the OpenNTF board. There are 3 positions for 4 candidates so the changes are high I would say. I have found OpenNTF always the main spot to learn and be informed about ICS solutions so I hope to learn more via this membership and share it with others!

Adding @mention autocomplete like Facebook, Twitter & Google+ to your XPages app  

By Patrick Kwinten | 9/14/16 9:31 AM | - | Added by Oliver Busse

For an application I was asked to add a feature to add commenting on main topics. In order to stimulate discussions it should be easy to include people in the stream, similar as in Twitter. So writing an @sign should invoke a type-ahead or auto-complete to a user-list and provide suggested users to address.

End of contract – a retrospect  

By Patrick Kwinten | 7/1/16 9:36 AM | - | Added by Oliver Busse

So hire me! I am open for all opportunities; a permanent job, a fixed contract, sub contract. Everything working with interesting technology is better than sitting at home. So if you happen to know something of interest do not hesitate to contact me.

Building a search function with DataTables plugin (III)  

By Patrick Kwinten | 6/9/16 4:40 AM | - | Added by John Oldenburger

In the previous post about the datatables jquery component I demonstrated how to create input select controls for each column. In some cases an select control may however not be desired, due to the diversity of the entries in the column (e.g. track number, firstname, date).

Building a search function with DataTables plugin (II)  

By Patrick Kwinten | 6/8/16 2:34 AM | - | Added by John Oldenburger

In a previous post the base foundation was set up and a table was drawn on the xpage with the datatables jquery component. The data, residing in a Notes view, was delivered via a CustomServiceBean Rest service. A datatable comes out of the box with a little search field which performs a search across the whole json data-set.