IBM Domino to be or not to be

screen00094

The last week after MWLUG there has been numerous blog posts about Domino. No roadmap IBM is killing Domino, there is no future for Domino, IBM haven’t released any new releases since 9.01. That is not true at all, if we look at what has been released since 9.0.1 came to market. IBM Domino customers have received 6 fixpacks but they are not only fixpacks they are feature packs. Why, well the Domino http engine has received TLS 1.0 and later TLS 1.2 with new encryption methods. That is a major improvement if you ask me.
And if you go beyond the server and include traveler that I use all the time and see all new functionality that has been released there, and lately the possibility to use the Mobile Verse Client and Outlook mail support.

XPages Extension library has received 17 improvement releases for app development. These improvements has been adding updated one ui theme, jquery and jquery themes. Mobile development components, new xpages components and lots more. Yes, some improvements are better than others.
And with the upcoming FP7 that I hope will include Java 8 support, external view indexes and hopefully more. 

For IBM or other vendors to be able to keep up with everything happening needs new ideas and if you look at the market in general the release of new versions is moving from yearly big releases to quarterly or monthly improvement releases. I would rather want more small releases than one big one with a new number on it.

That is the change I’ve seen with 9.01 from big releases to quarterly improvements both with fix packs but also thru the extension library releases. And after reading some comments on other blogs (Johnnys) from Ed Brill a commitment to deliver maintenance until 2021 that is great if you ask me that means at least security fixes, fixpacks and hopefully new functionality. When everything comes around IBM Domino is a great platform to develop applications, run applications on and administer applications on. Yes it has it’s downsides but doesn’t all platforms have that if you look closely. 

I remember last time when Domino was dead but it’s still here.

Long Live IBM Domino

Adding OpenNTF extensions the simple way into your IBM Notes client

There is several ways how to add extensions into the IBM Notes client. But the best and simplest way that I have found is to do it this way.

Download the prefered Addon in my case I select the OpenNTF IBM XPages extension library, download the latest version to your computer. Unzip the file in your prefered location, Unzip the zipfile called updateSiteOpenNTF-designer.zip in a new folder.

In you Notes client create a new database in a folder on the server I call mine Client Updatessites and in the New database dialog select advanced templates and Eclipse Update site (9)

New database

Give the database a name of that you like.

Open the database and click on Import Local update site find the site.xml in the client update site folder. (important it has to be the client update site) follow the steps when importing.

import update site

You might say, wait this is like installing this on the server, yes it is but we are adding client code in this case.

When you are done, go to the action menu and select show url:s a dialog appears.

Select the second option nrpc:// press the copy button besides this row.

Second step, importing the site into the client

On the right and side in you client there is a my Widget section

My widget

Click on the three lines at the right side

install features

Now select Configure a widget from and then select Features and Plugins in a update site

screen00049

paste the copied Url press load and press next selecting what you want to install , give the widget a good explaining name and finish.

you will also after a while get the approve install dialogs where you approve the installation.

After this your extension is ready to be used after a restart of the client. But the best thing is that you will get an icon in the “my Widget” section and if your right click that icon you can remove it. Send it to a collegue and an email or publish it to a widget catalog.

Easy simple administration of OpenNTF and other addons in the IBM Notes client & designer

 

Xpage – Exception Notes error: You are not authorized to perform that operation

The first you think when you see this is that you don’t have access in the ACL or that the document has reader or author name fields that is blocking you from updating the document. But there is another option on the database that can give this problem.

Maximum internet name and password

On the advanced tab “Maximum Internet name and password” must be set to the level you want a user maximum to have. This will block any other user acess set in the ACL so if you set Reader here all XPage users will be readers even if you assign Editor, Designer, Manager in the ACL.

Took me awhile to remember this option when I got this error, then it’s time to write a post about it.

Do you have similar hard to find errors that you have solved for XPages, make a comment with a link to your blog or write directly in the comment.

Date format is Fulltext search a mystery

Fulltext searching in Domino is often a great way to find documents. Searching for information in documents is quite straight forward. Until you want to search for dates in web applications. If you have an web application in XPages and want to search for documents created after a certain date. You can write a query like this

[_CreationDate]>2001-05-01

But what if you users has an english locale with a date format like this mm/dd/yy and the user enters the date from a date field in an xpage.

Is it the user locale / server locale or what is the date format you should use?

============= UPDATE ================

I got an private email from a guy called Timothy Briley saying that the way to move forward when creating multi locale fulltext searches is to always get the retult from the DateOnly property on the NotesDateTime object. I haven’t tried it yet but it sounds reasonable 🙂

 

Time to update your Domino environment

Today Google released Chrome 48 and has deprecated RC4 as encryption protocol because it’s broken.
This means that if you have an older version of Domino that doesn’t support some other encryption protocol for https.

Domino 9.0.1 FP4 or FP5 will give you the support you need to use updated protocols.

And I really hope Google would implement the Swedish error page for everybody 🙂

screen796

And if you need help contact me.

Left, right, leftback, rightback and replacesubstring in java

I posted some common string functions that I’ve been using alot during the years in @formula, lotusscript (strleft, strright, strrightback, strleftback) and later in SSJS. So I thought that I need them in Java too. There might be some features like the one with dot in the replacesubstring function, feel free to comment so will I fix that 😉

Hope you find it useful.

OpenNTf.org Snippets

iNotes, IBM Traveler, IBM Verse, Win 10 Mail

We have all been living with the Mailbox in the IBM Notes client but because I work with lots of different clients I rarely use my own id. Therefore my main mail client has been iNotes / IPhone mail thru Traveler / Verse iPhone app. But when I upgraded my machine to Windows 10 and the Traveler server to the latest version I found that it works great to use the Traveler mail with the Windows 10 built in mail and calendar client.
screen769
Yes it’s a bit limited, mostly that you can only have one email open at a time. You can’t use Outlook because that client is blocked on the Traveler server, probably because some advanced communication that the Outlook client uses. Hopefully they will release that support at IBM Connect this month.
So if you haven’t tried it yet and have a Traveler version that supports the Verse client you can try it you self. Feel free to make a comment on you experience and use of other clients against the Domino server.

 

Standby Widget goes responsive

The standby widget snippet has need around for a while and doing it’s job in lots of my projects but now more and more of my projects is using bootstrap. So then there was time to also change the standby widget to support bootstrap. This is the first version that will give you a responsive standby “loading” indicator.

Download the updated version here

http://openntf.org/XSnippets.nsf/snippet.xsp?id=bootstrap-standby-dialog

IBM Connect and what I would like to be announced

I usually write a little post about what I would like to see an announcement about in January

  1. XPages for Bluemix leaves experimental hopefully goes Gold.
    So we can use it in production
  2. Lowering the price for data cache used when scaling XPages applications in Bluemix
    pricing today is a joke, data cache cost almost equal to a full instance. So if you want to scale into more instances you have to pay double the price of the instance.
  3. NSF database enhancements both functionality and speed
    Move indexes out of the database, joins, better and faster fulltext search
  4. Data service for IBM Cloudant directly in XPages
    Leverage the full potential of Bluemix directly inside XPages
  5. Database converter from NSF to Cloudant
    Cloudant is almost the same as an NSF database but with more speed and without the need to a Domino server
  6. IBM Verse replaces iNotes as webmail client
    The customers need something new and fresh
  7. Public release of Outlook as a mailclient thru traveler 
  8. Java 1.8 support for XPages 
  9. Javascript v8 support in SSJS 
  10. Domino Designer becomes a Eclipse plugin
    Yes please, let’s get rid of the old version of eclipse and give us access to everything new and the possibility to upgrade it. and have several versions on the same machine.

You can probably think of more things you would like feel free to make a comment

Wild click events on my XPage

Today I had a strange issue on an XPage application I was working on I it didn’t matter where I clicked
my button on the form got clicked. Very strange. First thing I started to look for was if I had some onClick event that was bind wrong. Nope that wasn’t the case.

Then I went over to the client side and thought I could find what event listener that was making the call but this doesn’t say anything to me.

screen690

Then I started to look at the XSP.Attachevents at the bottom of the xpage

But if you have a large xpage and 20 events attached to it, it’s hard to find what is what. The my suggestion is give you components real names. And it was then I found the problem.
Can you spot the difference
screen692

The working client side code
screen693
T
his this the XPage with the faulty code

 

screen695
D
on’t scroll more spoiler alert

 

 

 

 

 

 

 

 

 

Yes, the partial event listener is bound to an object that doesn’t exist view:_id1:_id5
why you might ask, I found that this happens if a button don’t have a name and is set to do a partial refresh.

screen694

Then you will get that you will click the button where every you click on the xpage. Hopefully fixed in a future release with an error or a correctly generated id.