Johno's Workbench - Page 2 of 28 - Tips, Tutorials, IBM, Domino, XPages, Mobile, Appcelerator

16 Mar 2016

Join me at Engage for some XPages and Bluemix awesomeness


I find myself yet again preparing for long flights to vast never before seen countries. This time it’s the Netherlands, where I’ll be presenting my session titled “The XPages of Things“, at an awesome user group called Engage, on Thursday the 24th March 2016 at 2:45pm (Netherlands Time – UTC/GMT+1).

I am extremely excited for this session, as it really shows off what is possible using a Cloud platform like Bluemix and integrating it with an on-premise platform like IBM Notes and Domino. The feedback I received re my session from IBM Connect this January past was also super positive, and for those who are still considering if they should attend my session, here’s a pitch…pretty much everything is a live demo ?.

If you haven’t registered for Engage as yet and are considering…well consider faster, as there are only a few seats left and remember that registration is free thanks to the Engage team and the sponsors.

The event takes place on the 23rd and 24th March 2016 in Eindhoven, Netherlands. And check out where the event will take place!!!

The Evoluon

The Evoluon

Click here and here to take a quick look at the schedule for the event.

Session Title


“The XPages of Things” session will take you through a gripping LIVE demonstration where John pieces together an “Integrated Circuit of Things”, binding an on-premise XPages application with the IBM Bluemix cloud.

Join this session and discover how applications can leverage services on the Bluemix cloud to expand on what’s currently possible in XPages.


I am proud to be part of the team of speakers at Engage and just want to thank the team for giving me this opportunity.

See you all next week
10 Mar 2016

Join me as I present an online Webinar titled “Optimus XPages”


With many thanks to TLCC and TeamStudio, I will be presenting my IBM Connect session “Optimus XPages” as a Webinar on Tuesday the 15th March 2016.

I had the honour of presenting 2 sessions at IBM Connect this past January in Orlando Florida. One of these sessions, which I feel was very well received, focused on approaching XPages development from a “road not so travelled” point of view. It was named:

Optimus XPages: An Explosion of Techniques and Best Practices

Ukuvuma found the XPages sweet spot

Over the past 2 years, Ukuvuma Solutions has focused heavily on creating an XPages development methodology, one that boasts the implementation of performant cloud-based solutions, yet still balances the need for rapid delivery of these applications. We are glad to say that we won this battle multiple times during this period, and now we want to share it with everyone.

This webinar sums up the techniques, practices and strategies we put in place to deliver scalable, performant solutions that look and feel great. All I ask is that you take the time and join us next week Tuesday to get an understanding of what we’ve done. I promise if anything, you’ll have something to ponder that night ?. Below are the details of the Webinar, as well as the abstract (aka Sales Pitch ?).

Optimus XPages: An Explosion of Techniques and Best Practices

Date and Time: March 15th – 10:30 A.M. to 12:00 P.M. Eastern U.S. time

Click here to Register


Starting a new XPages project but not sure it’s going to be done right the first time? Do you have an existing application that doesn’t seem to have that “X” Factor? In this webinar John will demonstrate how XPages developers can apply proven techniques and best practices to take their applications to a game changing level.

You’ll learn how to:

  1. Rapidly develop responsive applications,
  2. Improve user experience and response times with background and multi-threaded operations,
  3. Keep your XPages lightweight with code injection,
  4. Create scheduled tasks the XPages way,
  5. And much more.
12 Feb 2016

My fellow XPages people. Join me in an exciting Bluemix competition

Over the past 3 days I’ve been blogging about my experience of taking on the IBM Bluemix and Node.js Battle. The reason I’m sending this post via this blog is because I am so impressed with how the competition was designed and how addictive it became, that I’m certain everyone will feel the same if they give it a chance.

But I don’t know Bluemix or Node.js” – you say? Well, the good news is that you don’t really need to know these technologies in order to compete. What you really need to know is JavaScript and JSON. That’s it. Everything else is explained to you.

How does it work?

Firstly, it doesn’t take a lot of your time. The competition is broken up into 6 challenges, with a maximum of 1 hour to complete each challenge. You need to complete each challenge in about 10 minutes to stand a chance. Only 4 challenges are currently open and the other 2 will be unlocked during the next 2 weeks. You need to produce Javascript code and submit it in the fastest possible time. That’s it.

You need an IBM Account in order to compete, which you can register for directly on the competition’s site if you don’t have one.

What are the prizes?

Each challenge has a prize of 1 Smartplane. I’m not too sure which one, but I know there are 6, one for each challenge. Then, the overall prize is 500 Euros which goes to the person with the highest score.

Are there catches?

Well, for me it was difficult understanding what was going on. But, the good news is that I blogged my experience taking on the challenges, so you don’t face the same monsters I did. This will give you a sporting chance of winning one of the challenges or even taking home the prize. So, before you commence with the competition, read the following 3 posts I published on my Bleeding Code Blog:

IBM Bluemix and Node.js Battle – Part 1: Entering the lion’s den

IBM Bluemix and Node.js Battle – Part 2: Preparing for Battle

IBM Bluemix and Node.js Battle – Part 3: I Stand Bleeding Code (Important)


I wish everyone the best of luck and really, give it a try. It won’t take much of your time and it’s really quite addictive.

Have fun everyone :)
10 Feb 2016

The XPages Knowledge Base gets 2 new articles on day 1

Thanks to Paul Withers and Fredrik Norling, the XPages Knowledge Base grew by 2 articles in day 1 of the official launch.

Article: Dialog Control, SSJS and Refreshing an Area of the Page

Link: Click here to view article
Author: Paul Withers
Knowledge Base Space: XPages Extension Library
Short Description
Get an understanding of what happens behind the scenes when performing an SSJS .show() or .hide() on a Dialog Control.

Article: Adding excel exporting to XPages using POI4XPages

Link: Click here to view article
Author: Fredrik Norling
Knowledge Base Space: POI4XPages
Short Description
This article will show you how to create and run a simple view to excel export using POI4XPages, which is an OSGI Plugin that adds Apache POI support to your XPage Project. This marks the first article for POI4XPages on the XPages Knowledge Base and officially takes it out of the “Coming Soon” status.



Just a final thanks to Paul and Fredrik for being the first 2 contributors to the Knowledge Base. I know both of you are already digging out more articles to contribute and I speak on behalf of the community when I say that we really appreciate it.

For those out there that also want to contribute, I recommend reading this post I submitted on what to expect and the necessary steps to take to become a contributor.

Cheers for now
John :)
9 Feb 2016

It’s time for the XPages Knowledge Base to officially co-exist :)

The XPages Knowledge Base is live, running and hungry for content ?

The OpenNTF team have been working effortlessly to get the final touches implemented in order to make way for an online platform that helps with the collaboration of knowledge on all things XPages. And now it’s time to let the world know it exists!

The great news is that since IBM Connect, we’ve invested a lot more time to improve the user experience and make the content layout more structured and easy to navigate. We also added a few more categories including “XPages on Bluemix“.

My quick motivational pitch

At OpenNTF there is a small slogan running around: From Donation to Contribution. 2016 is the year of significant and positive change within the XPages Ecosystem. One of the changes OpenNTF is hoping to see come to fruition, is the adoption of continuous contribution in any way of form, by the community, for the community.

We as a community are blessed to have so many contributors submit various projects, XSnippets, tutorials, blog posts, etc., but there are still many out there who could join in and accelerate the growth of OpenNTF and XPages as a whole. The XPages Knowledge Base forms a great addition and a means of contribution, one that does not necessary require a serious investment in time, yet whatever small contribution given will still add immense value. More on this later.

I ask everyone reading this article right now, to please continue reading beyond this point and be mindful of what’s being asked vs what’s being offered. There is opportunity here for everyone to accelerate knowledge and adoption of various XPages technologies, and together we can make this happen now.

Overview of the XPages Knowledge Base

The concept of a knowledge base for XPages began in November 2015, and was officially announced at IBM Connect 2016, along with Oliver’s post on OpenNTF’s blog. the idea is to consolidate all articles and blog posts that exist “on the line”, and structure the content in such a way so as to promote consistency and integrity of the content.

This in no way is meant to replace the blogging of XPages content. Not at all. Instead, the knowledge base will be “manually” fed from various blogs (with the approval of blog authors of course) and the content restructured and tweaked to conform to an “Article Template”.

If, however, one does not have a blog and would like to contribute, that’s fine as well. It’s as easy as creating a How-to article on the Knowledge Base, which is explained in more detail below.

Example Template Layout of a Knowledge Base Article

A typical article on the XPages Knowledge Base will be divided into the following sections:

  1. Author Reference – Here we reference the original Blog Post(s) and Author(s)
  2. Quick Summary – Eliminate reading the entire article if you just want the quick how-to
  3. Detailed Overview Hopefully self explanatory
  4. Scenarios – Examples of real world scenarios related to the article
  5. Important Notes – Important things to note around the use of the what’s been posted in the article
  6. Step-by-step Guide – Hopefully self explanatory
  7. Related Articles – Other articles in the Knowledge Base that related to the current article

Blog Post vs Knowledge Base Article

Click here to view an article from my blog on how to use the XPages Extension Library’s Remote Services control. The post itself only has a few sentences and the rest is a video tutorial.

Click here to view the very same article, but re-structured and published to the XPages Knowledge Base. There is firstly more content when comparing the 2 articles. The “Quick Summary” section shows a skilled enough developer how to quickly make use of the feature, without having to navigate through the rest of the article. The video itself features in the “Step-by-step Guide” section of the article. This is an example of what we want to achieve with submitted articles to the Knowledge Base. A win win for everyone, wherever it makes sense.

Now, here’s the best part. The idea is for the XPages community to help make the content better, whether by making it more accurate, validating the content by commenting and giving approval or raising concern, adding to the content by giving more scenarios or how-tos, or merely liking the article to improve it’s relevance. The keyword is…contribute.

How to start contributing

All content in the Knowledge Base is open to the public (i.e. available to Anonymous users). However, in order to participate, you need an OpenNTF Account. Once your account is activated, you will be able to log into the Knowledge Base. This will give you the ability to like, comment, edit existing or create and submit new articles.

We will be posting more tutorials around how to perform various operations in the knowledge base in the near future, but for now, it’s quite simple: Select a Space (e.g. “XPages Extension Library” or “Performance and Best Practices”) and create a “How-to Article”.

Atlassian Confluence How-to Article

I will be monitoring the Knowledge base and will be working with everyone to help get the content structured accordingly, so please don’t worry if you’re doing it right or wrong, we’ll make it right ?.

An alternative for now, is to join in on the OpenNTF “XPages Knowledge Base” Slack channel. If you are not yet part of the OpenNTF Slack channel, click here to be taken to the OpenNTF Home Page and click on the Slack widget on the top right of the page. This will allow  you to register with OpenNTF on Slack.


Right now, there are only about 3 articles live on the Knowledge Base and many of the Categories still have a status of “Coming Soon”. This will improve almost immediately as we already have a number of contributors lined up.

There are currently articles in the XPages Extension Library and Performance and Best Practices Spaces.

IMPORTANT: If there are any questions, suggestions, or anything related to the knowledge base including sign up issues, etc., I strongly recommend joining OpenNTF on Slack and joining the “XPages Extension Library” channel. This will form the best base to collaborate and work together. Worst case scenario you can just comment on this blog post and I’ll assist you wherever possible.

Thank you for reading this article. I ask that you please share it on the social streams to get the word out.

See you on the other side ?