New functionality was added in Notes 8.5.1 to make MyWidgets more dynamic

In Lotus Notes 8.5.1 a small, but very useful, addition was made made to the MyWidgets funtionality. From Notes 8.5.1 the preferences that you specify for your widgets may be computed by the platform instead of being mapped to something you specify via LiveText or text selection. Below is a small snippet from an extension.ml file showing how a value is normally mapped to a parameter (in this case “Mikkel Flindt Heisterberg” is mapped to the “name” parameter).

<preference name="name">
<value>Mikkel Flindt Heisterberg</value>
<displayName>name</displayName>
<enumValues/>
<enumDisplayValues/>
<datatype></datatype>
<isEnum>false</isEnum>
<isRequired>true</isRequired>
<isHidden>false</isHidden>
</preference>

So what if you want to use the current username or the current date? Well up to now you were at a loss or you had to incorporate the functionality into the service you linked to. But since this isn’t always possible IBM added the option of specifying it in the widget itself.

The way to do it is by using a “name” or “date” command in place of the static text (“Mikkel Flindt Heisterberg” in the example above). The syntax is as follows:

${command:parameter}

The following two commands are available:

  • name
  • date

As you might be to format the date or specify the part of the username you need (common name, organization etc.) you use “parameter” part to further instruct the command. Below is some documentation on each of the commands.

  • ${name:nameType}
    For example: ${name:cn}/${name:ou}/${name:o} will resolve to “CommonName/OrganizationlUnit/Organization.” For example: ${name:dn} will resolve to the user’s full distinguished name.
  • ${date:dateformat}
    For example: ${date:yyyy MM DD} will resolve to the current date (in this example “2009 03 20”). The “dateFormat” should be a valid Java date format string.

Using the “name” command the above XML snippet becomes:

<preference name="name">
<value>${name:cn}</value>
<displayName>name</displayName>
<enumValues/>
<enumDisplayValues/>
<datatype></datatype>
<isEnum>false</isEnum>
<isRequired>true</isRequired>
<isHidden>false</isHidden>
</preference>

Information is available in the infocenter (Using a widget property to filter a current user name or date)

Lotus Traveler saves real money!


This morning at IBM Software Dag I have been talking to a number of customers already. One exciting story to start of the day was a company who have completed the switch from an existing, for-pay, mobile mail provider to fully embrace Lotus Traveler 8.5.2. They now only provide mobile mail using Apple iPhones and the Lotus Traveler they are entitled to as part of licensing Lotus Notes.

Now the choice of mobile mail provider isn’t really all that exciting so why blog about it? The reason is that the switch has saved them 60.000 USD in licensing! And that’s only the savings on the mobile mail software. No costs from decommissioning servers, savings from supports and/or maintenance is included in the above number. And this is a relatively small company (around 500 employees).

So why haven’t they switched to Lotus Traveler before? Well they have been waiting for Lotus Traveler 8.5.2 to utilize the support for HTTP/HTTPS as they rely on reverse proxy servers to channel the traffic through the various layers of firewall. They use Apache HTTP server and mod_proxy to channel the traffic through. Again free and open.

Great story to start the day.

Bob Balfe: plugin_customization.ini and Eclipse preferences

Bob has, once again, written a very nice post on his blog. This time it’s on plugin preferences and how the plugin_customization.ini file fits in and where Eclipse preferences are stored. As this is common cause of concern and questions from plugin developers and admins I wanted to point to the post.

Bob Balfe: plugin_customization.ini and Eclipse preferences

TwitNotes v2 and a little info on OAuthrViewPart

Ever since Twitter turned of support for basic authentication about a month ago TwitNotes hasn’t been working. Unfortunately I’ve been head down with work and unable to put out a new release that uses OAuth so I (and others) have been TwitNotes less. Bummer! But between some travel and a little weekend/evening time I’ve had enough time to work on it. And believe it or not! Below is a real screenshot from real code of TwitNotes v.2 running in my Notes 8.5.2 client. Did I mention it was real? 🙂

Of course the actions needs to be tweet aware (I’m afraid I cannot delete other peoples tweets) and there needs to be an input field for tweeting but the infrastructure is there already. It just needs to be hooked up. This will also be the first sidebar plugin to use my new abstract OAuthrViewPart class.

The abstract base class handles all the OAuth stuff for the developer. He/she simply extend the class, feed it an API secret and an API key and it will handle the rest incl. detecting if the initial OAuth handshake has been done, if network is available etc. before letting over control to the developer to show the “real”content. More information on the sidebar will follow in another post.

I’m planning to release the OAuthrViewPart as open source on OpenNTF.

As to TwitNotes v2 stay tuned – expect a beta out soon…

Announcing the Lotus XPages Cup Competition

Visit the Virtual Innovation Center (VIC) to learn about the “Lotus Building Collaborative Applications with XPages Cup Competition” running from 27 September to 29 October, 2010. Take this opportunity to learn about the latest XPages enhancements built on the breakthrough innovation started in Lotus Notes 8 and Lotus Domino 8. The competition is open to all IBM Business Partners and there is no charge to participate.

Register for the competition

An update on the RedWiki

The writing on the wiki is almost done and all chapters are of to review. I think IBM is shooting for a release by mid October. As to the code examples it has been decided that all code goes on OpenNTF for easy download and hosting using the recently announced SVN capabilities. This will also make it easier to control additions to the code base as the wiki hopefully continues to evolve.

Technorati State of the Blogosphere 2010

Just completed the Technorati State of the Blogosphere 2010 survey per request via e-mail (and you’re welcome to do the same). I normally have quite mixed opinions about these kinds of surveys but I decided to give it a go and I was quite surprised over my answers. The survey is rather lengthy and goes into a lot of topics which aren’t really relevant for me such as adds, monetizing the blog, measuring traffic and hot topics from 2010 such as the Mexican Oil Spill. The survey also touches on other topics which was more interesting to me such as the amount of blogging, why I blog and stuff like that.

The survey has a whole section on Twitter, whether one uses it and what the purpose is. It also goes right to the heart of microblogging vs. blogging namely that it makes me blog less. Looking at my blogging stats it’s very obvious that microblogging has made me blog less. But when I do blog it’s generally longer than before microblogging. It was quite an eye opener and something that will probably take a little while to digest.

One thing is certain – blogging has become a very prominent way of getting news no matter who niche it may be. Whether it’s about super local politics, whether it’s about what to do for Lotusphere or what the new cloud initiative from IBM is all about. Blogging has changed the way information is delivered and consumed and it’s a better World because of it.

Out just in time for Lotusphere!

While ordering some stuff on Amazon today I stumbled over a nice book that is due out 21 January 2011. Apparently Martin (Donnelly), Mark (Wallace) and Tony (McGuckin) of IBM Lotus Domino XPage is writing a book about XPages and how to get going using a step-by-step approach. How nice.

Mastering XPages: A Step-by-Step Guide to XPages Application Development and the XSP Language

The Lotus Information Development Center (IDC) is looking for users

The Lotus Information Development Center (IDC) is looking for users to participate in XPages technical content and wiki usability evaluations coming up in October! In a usability evaluation you provide feedback directly to the Lotus IDC team about the documentation (help, wikis, etc,) for specific products or services. This is a great opportunity to share your thoughts and opinions with the people who create Lotus product documentation and wikis.

The team needs usability participants for the following evaluations: For this XPages technical content usability evaluation, the IDC team is looking for developers who are new to using XPages technology in their application development tasks but may have used Designer before the introduction of XPages. Familiarity with the legacy Notes application development model is a plus.

If you are interested in participating in any of these usability evaluations,
please contact the Lotus IDC team by clicking here: http://budurl.com/amwz

Provide your email address and the usability evaluation(s) you would like to participate in, and someone from the IDC team will contact you. Evaluations will be done via phone and web conference. Be heard and help improve the usability of Lotus technical content! The team looks forward to working with you!