267 Lotus blogs updated hourly. Who will post next? Home | Blogs | Search | About 
 
Latest 7 Posts
“No Documents Were Categorized” and StampAll
Wed, Aug 12th 2015 26
From XPages to Web App: Part One – The Application
Mon, Aug 10th 2015 20
From XPages to Web App: Introduction
Mon, Aug 3rd 2015 19
Building On Premise XPages The Bluemix Way
Mon, Jul 13th 2015 12
View.isRenderingPhase() and Buttons
Thu, Jul 2nd 2015 12
Notes Items, Seq Num, and Domino Update Troubleshooting
Wed, Jul 1st 2015 13
OpenNTF Domino API Database Listeners
Mon, Jun 22nd 2015 14
Top 10
XPages Dialog Control and Partial Refreshes
Thu, May 28th 2015 27
“No Documents Were Categorized” and StampAll
Wed, Aug 12th 2015 26
IBM Connections 5 Cumulative Refresh 2 New Functions and Fixes
Fri, Feb 27th 2015 20
From XPages to Web App: Part One – The Application
Mon, Aug 10th 2015 20
From XPages to Web App: Introduction
Mon, Aug 3rd 2015 19
Java getAllDocumentsByKey / getAllEntriesByKey Problem With Doubles
Tue, May 20th 2014 18
The Perils of getColumnValues().get(0)
Sun, Jul 20th 2014 18
IBM ConnectED (Not Lotusphere) Reflections
Thu, Jan 29th 2015 15
Server-Wide Custom XPage Login for XPages Applications
Fri, Jun 12th 2015 15
OpenNTF Domino API Database Listeners
Mon, Jun 22nd 2015 14


Paul Withers
Blog Title Intec Systems | IBM Business Partner | Collaboration Solutions Provider » Blog
Blog Description Collaborative Solutions for Progressive Businesses
Blog URL http://www.intec.co.uk/blog
RSS Feed http://www.intec.co.uk/category/blog/feed/
Validate Feed feedvalidator.org or validator.w3.org
Feed Last Checked Aug 12, 2015 6:00:21 AM EST. Realtime Update:
Location Fleet, Hampshire UK


Recent Blog Posts
26
“No Documents Were Categorized” and StampAll
Wed, Aug 12th 2015 6:50a   Paul Withers
Today I hit an error I had not seen before. When trying to run some LotusScript I got an error Notes Error: No documents were categorized. The code was getting the response documents and doing a stampAll on them. I could see there were response documents, but it was failing. So I turned to my friend Google. One of the early links I found was to WindowsDiagnostics.net website. Even with limited knowledge of Domino it’s clear this is totally disreputable spamware, the causes cannot possibly
20
From XPages to Web App: Part One – The Application
Mon, Aug 10th 2015 5:57p   Paul Withers
Table of Contents Introduction Part One – The Application The application I’m going to be using for this tutorial can be downloaded from OpenNTF. The KeyDates.nsf application should be installed on a Domino server, preferably at xpagessamples/KeyDates.nsf. If that filepath is used, the future applications will not need changing to automatically pick up the data. If you don’t have an available Domino server, the application can be previewed locally. The second application, th
19
From XPages to Web App: Introduction
Mon, Aug 3rd 2015 9:41a   Paul Withers
One of the biggest takeaways from IBM ConnectED in January was how many people who have travelled down the XPages route had moved from being a Notes developer to a web developer. I’m one of those. I did some Domino web development, but it was an arcane skill, with a lot of hacks. If you wanted to use standard web development frameworks or methodologies, the standard ways of implementing them often didn’t work and you needed to use workarounds. I encountered this when adding Dojo to a
12
Building On Premise XPages The Bluemix Way
Mon, Jul 13th 2015 9:25a   Paul Withers
The beta of XPages in Bluemix introduces the concept of splitting design from data, with (on the whole) one NSF for the XPages components and one for the data. But for me that’s not a new concept, and has not been for some time. Accessing a separate database is nothing new in XPages. It was something I was doing in 8.5.0 and something I first did programmatically in the first release of XPages OpenLog Logger. Consequently, pointing all data to a separate data database is similarly straight
12
View.isRenderingPhase() and Buttons
Thu, Jul 2nd 2015 8:17a   Paul Withers
One of the biggest impacts on performance is the rendered property of components. As I’ve blogged about before, it’s calculated multiple times during a partial refresh. If the rendered property is computed using Expression Language (e.g. #{viewScope.showTheseFields}), the impact is probably not very high: the check goes through the VariableResolver to identify the Java object relating to what’s to the left of the “.”, then through the PropertyResolver to identify an
13
Notes Items, Seq Num, and Domino Update Troubleshooting
Wed, Jul 1st 2015 8:33a   Paul Withers
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 was modified. For each Notes Item, a number of pieces of information is stored – field name, data type, data length, duplicate item ID and field flags (e.g.
14
OpenNTF Domino API Database Listeners
Mon, Jun 22nd 2015 10:00a   Paul Withers
Recently I was pointed in the direction of a blog post requesting hooks for opening / creating / saving etc of documents. With the next release of Notes (9.0.2??) due out later this year, I suspect the chances of a feature request getting in now is quite low. The subsequent release will probably not then come until some time next year. So that means a long wait to get something that modifies LotusScript, Java and Server-Side JavaScript core Domino Object Model classes, as well as contributing so
15
Server-Wide Custom XPage Login for XPages Applications
Fri, Jun 12th 2015 8:19a   Paul Withers
Yesterday I was hit by a problem. I was looking to set the login page for a suite of applications to an XPage. Some years ago I had a project and, with much less XPages expertise than now, just added some hacky code to redirect to a login XPage based on a sessionScope variable, so even if the user was authenticated, everything still went through that login page. But this was slightly different. I wanted to override the server-wide login page. So first it requires a bit of explanatory background
27
XPages Dialog Control and Partial Refreshes
Thu, May 28th 2015 9:09a   Paul Withers
One of my colleagues has been working on an XPages application and, because of other requirements, was creating his own modal dialog for taking action on a particular entry in a view. First, it’s worth a bit of background if this is something you’ve needed to do but are not sure how to. My usual method is to add a button to the row in e.g. a Data View, which runs SSJS / Java to set a viewScope variable with the current entry’s NoteID and load the dialog. Because we want to act
10
Single Copy XPage Design – Some Learning and Why It’s Not For Me
Tue, May 26th 2015 4:43p   Paul Withers
In a recent project I decided to use Single Copy XPage Design (SCXD). This is a seemingly useful technique that is in many ways similar to the concepts underpinning XPages on Bluemix: one database holds the data and it points to another database that contains the XPages-specific design elements – XPages, Custom Controls, StyleSheets, Themes, Images, custom Java code and third-party jars. (At this point, it’s worth stating that although the concept of two NSFs is similar, my understan
8
IBM Watson: How it Works
Mon, May 18th 2015 11:08a   Paul Withers
The post IBM Watson: How it Works appeared first on Intec Systems | IBM Business Partner | Collaboration Solutions Provider.
7
IBM Verse Demonstration
Mon, May 18th 2015 11:04a   Paul Withers
The post IBM Verse Demonstration appeared first on Intec Systems | IBM Business Partner | Collaboration Solutions Provider.
11
pde launch configurations and “Xsp Initialization error – Could not load class or methods”
Fri, May 15th 2015 8:35a   Paul Withers
This week I’ve been working with a significantly re-organised repository of OpenNTF Domino API. There were a few issues and it prompted me to finally get round to installing the latest fix packs for Notes and Domino. They had come out just before Engage, where I was speaking, so I chose not to upgrade then and had never got round to it. During the install I had a few problems with installing JVM patches to fix the LS2J issues with the Update Site database and basically broke my Notes Clien
13
Opening XPages and Custom Controls to Source Pane
Thu, May 14th 2015 4:17p   Paul Withers
These days virtually all my work on XPages and Custom Controls is done in the source pane. But by default when you open the design elements, they open to the Design pane. Wouldn’t it be great if it opened to the Source pane? The good thing about the Package Explorer is that by right-clicking on a design element you can change the editor to launch. If you choose the XML Editor, then it launches the normal editor, but with the XML Source pane displayed. There’s a bit of a trade-off her
8
[INFOGRAPHIC] Managed Application Hosting for your Domino Application
Mon, Apr 27th 2015 1:57p   Paul Withers
in The post [INFOGRAPHIC] Managed Application Hosting for your Domino Application appeared first on Intec Systems | IBM Business Partner | Collaboration Solutions Provider.
12
[VIDEO] Managed Application Hosting for your Domino Application
Mon, Apr 27th 2015 12:42p   Paul Withers
The post [VIDEO] Managed Application Hosting for your Domino Application appeared first on Intec Systems | IBM Business Partner | Collaboration Solutions Provider.
8
Pushing Changes to Java Agents
Thu, Apr 23rd 2015 7:36a   Paul Withers
In more recent projects I’ve written my agents in Java. Although it meant copying some code across (and in some cases, rewriting it a bit because the agents were not using OpenNTF Domino API), it helped keep muscle memory. However, I encountered some strange behaviour when refreshing design of the databases. LotusScript agents were fine, XPages were fine, XPages Java code was fine. But changes were not picked up on agents. It turns out refreshing design does not work for updating Java agen
7
XOTS: Background and MultiThreaded Tasks the OpenNTF Domino API Way (Part Three)
Thu, Apr 16th 2015 8:25a   Paul Withers
In the previous two parts I covered the background of XOTS, using a basic tasklet to return a result, and using a basic tasklet to run a background task allowing the user to continue working with the application while the background task completed. In that example the background task did not take a huge amount of time, so it might be worth waiting for the task to complete. But it was iterating over all the states and getting a list of names for contacts in those states. Wouldn’t it be more
7
XOTS: Background and MultiThreaded Tasks the OpenNTF Domino API Way (Part Two)
Wed, Apr 15th 2015 9:15a   Paul Withers
Yesterday I blogged introducing where we are with XOTS in OpenNTF Domino API, plus a short example about how to create a tasklet and call it. The example was a bit “hello world” – why would you want to call a tasklet to get the current username, when it’s possible and much easier to do that directly in your XPages code? But it gave the basics of creating a background tasklet and accessing the outcome immediately. So let’s go further with an example that runs a backg
5
XOTS: Background and MultiThreaded Tasks the OpenNTF Domino API Way (Part One)
Tue, Apr 14th 2015 8:13a   Paul Withers
OpenNTF Domino API has provided a number of significant enhancements. One of the more recent is XOTS. As its name suggests, XOTS brings together XPages and DOTS. At this point I think it’s worthwhile backtracking and giving some background on DOTS, which many XPages developers will not have utilised. DOTS came in with 8.5.3 and runs within OSGi to allow code that is outside of the NSF to run and return a response, but still interacting with NSFs. The (only officially supported) implementat
4
Engage, Graphs, CrossWorlds and Vaadin
Wed, Apr 8th 2015 6:46p   Paul Withers
Last week I delivered a session at Engage with Daniele Vistalli entitled Jedi and Sith: OpenNTF Domino API and CrossWorlds. The session covered different aspects related to developments within OpenNTF Domino API over the last year, one of which Nathan T Freeman covered in greater depth during his session entitled The Graph Revolution. It finally brought together a variety of new techniques into a demo application: the Tinkerpop extension within OpenNTF Domino API to bring graph databases to Domi
6
New Release of Extension Library, Including MapPicker and CollectionPicker
Thu, Mar 26th 2015 6:30a   Paul Withers
This week IBM released the twelfth 9.0.1 release of the Extension Library. It’s great to see the inclusion of mapValuePicker and collectionValuePicker tags. That has proved the completion of a journey almost two years in the making, since I first blogged a tutorial series on doing this, back in May 2013. At the time they were just Java classes used to compute the value of the dataProvider. They were then submitted onto XSnippets, again as Java classes to compute the dataProvider. With some
9
Managed Beans, Scopes and Lifetimes
Mon, Mar 23rd 2015 6:27a   Paul Withers
A colleague asked me last week about the managed beans and whether a requestScoped bean would be loaded for every request. It’s something I had inadvertently already proved but forgotten. It’s always worth clarifying though and of relevance to more than just managed beans, but anything defined in the faces-config. All objects defined in the faces-config are defined as a variable name mapping to a class. So for a managed bean like this: openLogBean org.openntf.domino.xsp.XspOpe
20
IBM Connections 5 Cumulative Refresh 2 New Functions and Fixes
Fri, Feb 27th 2015 12:30p   Paul Withers
The following information was published by IBM on 24th February 2015. The information is only available in a restricted wiki, so we’re reproducing it here. Abstract IBM Connections 5.0 CR2 includes new functions that may be optionally used or enabled by making changes to the configuration files. Content IBM Connections 5.0 CR2 includes new functions that may be optionally used or enabled by making changes to the configuration files. This document lists each function, along with a brief des
10
Adding Themes to XPages Dojo Charts
Fri, Feb 27th 2015 9:59a   Paul Withers
Since I first blogged about Dojo charting in XPages in 2009, quite a lot has changed with Dojo. Much of what I did then is still valid, including the additional JavaScript file I created at Lotusphere 2011 and contributed to OpenNTF for making the chart legend multi-column and allowing styling on it. However, when trying to add a different theme last week, I found the code I have used previously didn’t work. This comprised creating a new instance of dojox.charting.Theme on the fly, assigni
6
A Case of Case
Mon, Feb 23rd 2015 11:19a   Paul Withers
We all know that XPages URLs are case sensitive. So for a page “Domino_ViewState.xsp”, you cannot use “domino_viewstate.xsp”. However, what’s not so widely known is that the URLs are only case sensitive after the first character. So both “Domino_ViewState.xsp” and “domino_ViewState.xsp” will work for opening the XPage. However, although both will work, there can then be problems with functionality that uses those values as strings. One of tho
6
[INFOGRAPHIC] HCM – Hindsight or Insight?
Sun, Feb 15th 2015 8:41p   Paul Withers
The post [INFOGRAPHIC] HCM – Hindsight or Insight? appeared first on Intec Systems | IBM Business Partner | Collaboration Solutions Provider.
6
Scoped Variables, Implicit Variables and Repeat Controls
Thu, Feb 5th 2015 7:29a   Paul Withers
Last week I spoke with Tony McGuckin at IBM Connect. This blog post is explaining a problem I had recently, the cause, the investigation and the resolution two possible resolutions. All relate to content I covered in that session, particularly around the JSF lifecycle. It’s also why the JSF lifecycle is something I always cover at the very start of the Troubleshooting XPages element of the XPages training course I’ve developed and delivered for Intec. The Problem The problem was I ha
7
IBM ConnectED 2015 Session Slides
Mon, Feb 2nd 2015 5:10p   Paul Withers
Last week I delivered two sessions at ConnectED. Here are the session slides. MAS103 XPages Performance & Scalability BP106 From XPages Hero To OSGi Guru: Taking The Scary Out Of Building Extension Libraries The post IBM ConnectED 2015 Session Slides appeared first on Intec Systems | IBM Business Partner | Collaboration Solutions Provider.
15
IBM ConnectED (Not Lotusphere) Reflections
Thu, Jan 29th 2015 12:01p   Paul Withers
It’s been a busy week as always. So now the dust has settled here are a few thoughts. No Matter What Changes, The Community Persists Our community is an awesome thing, often mentioned with envy by those working outside what was ICS and is now ESS (Enterprise Social Solutions). Over recent years there have been some notable exceptions at our January event. I think we’ll have to wait some months, if not longer, to see the impact of the structural changes within IBM. And IBM are yet to
7
IBM ConnectED 2015
Wed, Jan 21st 2015 8:10a   Paul Withers
In just a short few days, fellow IBM Champion Tim Malone and myself (Paul Withers) will be heading off to IBM ConnectED. With one less day but just as much to do, it’s likely to be even more hectic than ever. Here’s a summary of things I intend to be involved in. OpenNTF Domino API / CrossWorlds One of the key aspects for the week for me is to touch base with the OpenNTF Domino API team and particularly get up to speed with CrossWorlds. CrossWorlds was a new project that came into be
7
Single Copy XPage Design and Development Best Practice Challenges
Tue, Jan 6th 2015 5:15a   Paul Withers
For the first time I’ve got an application that would benefit from Single Copy XPage Design. The challenge is how to develop that in a way that can best be managed via source control and deployed through development, test and live environments. That’s because, unlike design inheritance, Single Copy XPage Design is set in Domino Designer, in the Application Properties, on the XPages tab. There are two issues here: The literal path is stored in the design, so all environments need to
7
SourceTree and Git/Mercurial: Important Information
Fri, Dec 19th 2014 8:09a   Paul Withers
For anyone who has used the slides from my Show and Tell on source control in January or the subsequent NotesIn9 episode, the recommended Git / Mercurial client was SourceTree. It’s an excellent tool for those who prefer a GUI and runs on Windows and Mac. The advice at the time was to use the embedded Git / Mercurial. For most XPages developers, who were only pushing and retrieving files via SourceTree, that was adequate. However, overnight I became aware of a security vulnerability with G
6
XPages OSGi Plugins 3: Configuring for Domino
Wed, Dec 17th 2014 2:12p   Paul Withers
The next step is to configure it for work with Domino. Thankfully, Nathan Freeman has done a great job at making it very easy to do so. I’ll go through the installation first and then explain what’s set. You need to download and install XPages SDK for Eclipse RCP project from OpenNTF into Eclipse. This is an Update Site, something else Domino Developers should already be familiar with. The only difference is that instead of File > Application > Install, you select Help > Ins
7
XPages OSGi Plugins 2: Installing the IDE (Eclipse)
Wed, Dec 17th 2014 1:38p   Paul Withers
The recommended IDE (Integrated Development Environment) for looking at plugins is Eclipse. You can open them in Domino Designer, but I prefer to keep my development environment clean – I have enough Notes Applications and On Disk Projects there, without confusing the matter further. Plus, if you’re looking to debug them, Eclipse is a better place from which to do that. Eclipse can be installed on Windows, Linux or MacOS. Its versions are based on alphabetical names, so the latest is
5
TLS Workaround for Firefox
Thu, Dec 11th 2014 9:32a   Paul Withers
Earlier this week I was prompted to upgrade Firefox and I’m now on 34.0.5. Suddenly I was unable to access some Domino servers and got this message when connecting via https: Needless to say, this is not going to be a problem with Domino 9.0.1 FP2 IF2. But for some projects I need to develop against older versions of Domino. There is a workaround, though the caveats regarding security should be raised. In the address bar, type “about:config” and press enter. You will be warne
6
CKEditor Keyboard Shortcuts
Wed, Dec 10th 2014 11:24a   Paul Withers
One aspect in which browsers are significantly poor compared to rich client applications like the Notes Client is in keyboard shortcuts. WAI-ARIA roles exist for specific areas of a page, like navigation. But browser manufacturers seem to have done nothing to help those who prefer to (or have to) use the keyboard instead of the mouse. Keyboard shortcuts exist, but only for the browser menus, not for content within the browsing container. Similarly I’m not aware of any standard functionalit
7
XPages OSGi Plugins 1: An Introduction
Thu, Dec 4th 2014 1:49p   Paul Withers
Recently I’ve realised that for all the host of materials there have been on XPages, there are not the same amount of materials for OSGi Plugin investigation. John Dalsgaard and John Cooper have blogged some, but most of the blogs tend to focus on building plugins. Indeed that’s also the focus of my upcoming session with Christian Guedemann at IBM ConnectED. But that doesn’t tend to be the way I’ve learned things. I tend to look at examples, pick them apart, see what they
4
Intec’s IBM Champions Renewed
Thu, Dec 4th 2014 1:44p   Paul Withers
It’s great news that both myself and Tim Malone have been renewed as IBM Champions for 2015. I’ve been an IBM Champion every year since 2011, but I still strive to be an active member of the community. My involvement has ramped up significantly since I started blogging in 2009 and it’s a pleasure to work for a company that supports my community involvement so enthusiastically. Tim may not be as visible to Domino developers or administrators, but he has become more visible speak
7
Speaking At IBM ConnectED
Fri, Nov 28th 2014 2:17p   Paul Withers
Yesterday I heard that I was accepted for two sessions for IBM ConnectED at the end of January. They are: Title: XPages Performance and Scalability Conference/Track: Track 7: Master Classes Speaker(s): Tony McGuckin; Paul Withers Abstract: This session by Tony McGuckin and IBM Champion Paul Withers is a deep dive on key aspects of the XPages application development framework which will enable you to tune your applications for optimal performance and scalability for any given use case. Learn h
9
OpenNTF Domino API: New Release and Serializing Databases / Documents
Wed, Sep 3rd 2014 6:12a   Paul Withers
Nathan has uploaded a new release of OpenNTF Domino API. There are a few significant differences in the upload this time. Firstly there is a separate install for Designer Client and Domino Server. That’s to minimise the footprint for the server. Those who have used M4.5 may have noticed the Javadoc support was lost, because we were packaging org.openntf.domino as a jar and incorporating that in the plugin. That meant Domino Designer “couldn’t see” the source files, from w




Created and Maintained by Yancy Lent - About - Planet Lotus Blog - Advertising - Mobile Edition