LotusScript

Home » LotusScript

Notes Items, Seq Num, and Domino Update Troubleshooting

Domino offers a lot out-of-the-box. It’s immediately apparent when looking at the Document Properties that the last modified time and last modifier are stored. What’s less obvious is that the last modified time of an individual field is also stored. That can be extremely useful when trying to work out who or how that field …

Notes Items, Seq Num, and Domino Update TroubleshootingRead More »

Method Parameters and The Importance of Final in Java

Most developers (certainly myself!) are lazy. We look to re-use code and write the briefest code we can. Sometimes it backfires! When writing a method, either in Java or LotusScript, we can often pass parameters around with little concern. I came across that some years ago with LotusScript when objects were being changed by a …

Method Parameters and The Importance of Final in JavaRead More »

NotesViewEntryCollections

One of the benefits of XPages is the power of repeat controls to effectively perform ‘joins’, whether that is with nested repeat controls or merging data prior to displaying in a repeat control. When it comes to collections of documents I tend to favour NotesViewEntryCollections. This is both for performance (predominantly using getColumnValues().get) as well …

NotesViewEntryCollectionsRead More »

Why You Shouldn't 'Count' on a NotesViewNavigator

Agent profiling is not new in Domino, but it’s something that gets little press. Because it’s only available for agents, it’s probably also going to become less useful as more and more development is done in XPages. But, working from the premise that the methods in use in LotusScript do the same work on the …

Why You Shouldn't 'Count' on a NotesViewNavigatorRead More »

LotusScript: Export Contents of a View to .csv file

Yesterday I had a requirement to export a couple of views to csv files. We’ve done similar exports before, usually specific to the particular functions, so have used the traditional file handling functions that have been around for years – Open, Input (for reading), Write, Close. On this occasion, because I was exporting two views …

LotusScript: Export Contents of a View to .csv fileRead More »

Deletion Logging

I’ve learnt a lot over the years, but occasionally I’m reminded of reusable bits of code I created years ago and am still using today. Deletion logging is an example of that. Before I joined Intec I created a lotusscript library with a couple of function to track attempted deletions, either via a log or …

Deletion LoggingRead More »

Domino Designer Content Assist Preferences (in case you're not aware of them)

I came across a tweet yesterday evening about content assist for LotusScript in Domino Designer being slow. I committed the cardinal sin of assuming that the person in question already knew of the setting in the Preferences. Just in case the information, and more, is of use to anyone else – and because the Full …

Domino Designer Content Assist Preferences (in case you're not aware of them)Read More »