LotusScript

Home » LotusScript

The DQL Approach

I’m loving the approach with DQL. Kudos to the team, there are some very good fundamental approaches. Will try to blog later to clarify — Paul Withers (@PaulSWithers) 22 November 2018 Earlier today I posted this tweet. It followed another update from John Curtis teasing more enhancements coming to DQL. If you’ve been following closely …

The DQL Approach Read More »

What’s New in Domino V10: LotusScript Profiling Extended

Profiling of LotusScript agents has been something that can be enabled for some time and I’ve long been a fan of it, blogging about it in 2011. Profiling was also something built into XPages Toolbox by Phil Riand. It’s also something I’ve built into RADAAR and my OSGi plugins in Java – just a simple …

What’s New in Domino V10: LotusScript Profiling Extended Read More »

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 Troubleshooting Read 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 Java Read 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 …

NotesViewEntryCollections Read 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 NotesViewNavigator Read 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 file Read 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 Logging Read More »

Scroll to Top