close

Authors


DOTS and IBM Domino 9: an update

chatFrank van der Linden | e-office 2 April 2013 21:02:20
This weekend I blogged about an issue with DOTS on IBM Domino 9

Today I recieved a blog comment from Charles Ross.
Your presentation on DOTS is very helpful, I found it on Slideshare and appreciate it. 

postscript: Domino 9 actually will support DOTS, if you also load the "OpenSocial Component" server install package. This was not made clear by IBM. The message needs to be clarified. I am using a newly installed instance today, trying to get the JDBC Access driver to run under DOTS. 

So it is good to know if you want to use DOTS then you need the OpenSocial Compenents installed on your Domino server

Comments Disabled

DOTS and IBM Domino 9

chatFrank van der Linden | e-office 31 March 2013 08:05:13
In my session at BLUG a told my audiance that DOTS will be part of the product of IBM Domino 9

That is partly true, I discovered.
During all beta releases of Lotus Notes 8.5.4 and even the public beta release of IBM Domino 9 DOTS was totally integrated inside the product.
After the Gold release of IBM Domino 9 I wanted to test a DOTS plugin.
So I fired up IBM Domino 9 and typed in the console 'load DOTS'

Problem
I got a nasty error about not able to load DOTS, because of the absence of a launcher.
When I examined the directories on my IBM Domino 9 server I noticed there were no 'osgi-dots' directories, but the ndots.exe file in the program directory is there.
I checked in a Parallels VM of previous beta release. The directories 'osgi-dots' were there present.

Solution
So I copied my whole 'osgi-dots' directies, with al the child directories and files to my new IBM Notes 9 environment.
After the copy action 'load dots' loaded DOTS and my DOTS plugin was working again.

Conclusion
It looks like IBM has partly removed DOTS from the product. For me it is not a problem, because the DOTS preperation of the IBM Domino 9 server is a one time procedure.
But be aware of this problem.

Comments Disabled

My slides of BLUG 2013: Power of DOTS

chatFrank van der Linden | e-office 23 March 2013 17:31:28

Comments Disabled

Next weeks: EntwicklerCamp, XPages and Beer and BLUG

chatFrank van der Linden | e-office 8 March 2013 10:04:44
Next weeks it will be busy ones. Most of the time travelling to various events.

First stop will be Gelsenkirchen, Germany

Image:Next week: EntwicklerCamp, XPages and Beer and BLUGNext monday I will drive to Gelsenkirchen to attend EntwicklerCamp, run by Rudi Knegt, he is from the Netherlands, but famous in Germany. It is a real Developer conference.
Lots of great speakers will be presenting.
I will do 2 sessions,
- Domino Designer and Source Control and how to setup it all.
- A introduction of DOTS. How to create, debug and deploy your first DOTS tasklet.

Image:Next week: EntwicklerCamp, XPages and Beer and BLUGOn wednesday on my way back from EntwicklerCamp I will drive to Deventer to attend the third version of XPages and Beer hosted by Saxion.
This time Niklas Heidloff of IBM and OpenNTF will be presenting about XPages and IBM Connect last january in Orlando.
It is always fun to meet all the XPages developers in the Netherlands. Good to share thoughts and do some networking.

The week after EntwicklerCamp and XPages and Beer will BLUG week.
Image:Next week: EntwicklerCamp, XPages and Beer and BLUGThis week I was asked by Theo Heselmans to fill in a gap in the agenda. I am honored to be asked and be part (again) as a speaker.
It one of the best run  Usergroup events on the European continent. As an attendee and speaker you are well treated.
This time there will be 18 IBM Champions among the speakers.

I will travel to Leuven on wednesday. So I will have some time to do some sightseeing and be on time for the speakers diner.
As e-office we are well presented at the BLUG. My co-worker Sasja Beerendonk will do 2 sessions, one about Gamification and the other together with Marion Vrielink from Saxion about more effective meetings with IBM Connections.
And I will do again do a session about DOTS.

So it will be busy, but also nice to meet and speak lots of people. Always good to be at those events.


Comments Disabled

Traveler not working for users migrated from Outlook/Exchange

chatAlmar Diehl 6 March 2013 23:07:28
Today I had to do some Traveler troubleshooting together with a customer.

The problem:
We had migrated approximately 100 users from Outlook/Exchange to Notes/Domino. A couple of migrated users are using Android devices to synchronize their mail, calendar and contacts so we connected them to Traveler. However, most of the users did not get proper synchronization of their mail. The mail would either never show up on the device or would mysteriously disappear after a while.

The solution:
It turned out that these users all had 2 inbox folders in Lotus Notes. They had all created sub-folders under their Inbox in Outlook and all these folders were migrated to Lotus Notes using BinaryTree's Common Migration Tool. So in Lotus Notes they had their actual Inbox and under folders they had the folders:
Inbox
Inbox\sub1
Inbox\sub2
etc.

We renamed this second inbox and from that moment on activesync worked like it should.
Comments Disabled

e-office will be part of the App Dev Throwdown at IBM Connect 2013

chatFrank van der Linden | e-office 24 January 2013 14:33:39
Image:e-office will be part of the App Dev Throwdown at IBM Connect 2013

I am very proud to announce that e-office will be part of the App Dev Throwdown at IBM Connect 2013 next week in Orlando.
My co-worker, Jeroen Derde, will show our integration of Office365 and the Activity Stream of IBM Connection 4.
The preliminaries will be on Monday 28th januari from 2.15-3.15 pm and 3.45-4.45pm.
The finals will be on wednesday, exact information will be provided, if we are selected to present the full length.
 


the video, who will show the integration can be found here


Comments Disabled

XPages tip: get easily access to your attachments in Java

chatFrank van der Linden | e-office 21 January 2013 20:10:57
Last week I have blogged about keeping your Notes document in memory.

One step further is get access to your attachments in your Notes Document through Java.

In our Social Intranet Framework there is a configuration XPage, to specify certain general parameter, like the favicon or the debug mode.
But also the company logo
Image:XPages tip: get easily access to your attachments in Java


To get the Logo file loaded, so it can used throughout the application, we have Configuration Managed Bean.

This Configuration Managed Bean will be updated if I save the configuration XPage..

Load the attachement in Java

In the Java code there is a method who will accept a DominoDocument as property. This DominoDocument is a representation of the Configuration backend document.
Image:XPages tip: get easily access to your attachments in Java

You can see in the code above, DominoDocument has a method 'getAttachmentList'.
It accept as parameter the fieldname, where the attachments are stored.

If there are attachments in my 'logo' field, it will return a List of FileRowData.
And through a list you can loop.

For my logo I only need one image, the company logo, so you can use get(0) to get the first out of the list.
I store it in a DominoDocument.AttachmentValueHolder.

Who to use it in my XPage

 As you can see in the Java doc of DominoDocument.AttachmentValueHolder there are some usefull methods to get access to your actual attachment.
Like 'getHref', this method will return the url to your attachment.

Image:XPages tip: get easily access to your attachments in Java
In my XPage a call this method by 'configBean.getLogoURL()', this will result in the url to my logo attachment.
There is no worry how to compose the url, the bean will do it for you, handy.



Comments Disabled

XPages tip: Keep your Notes Document in memory with Java and get easily access to the fields.

chatFrank van der Linden | e-office 14 January 2013 18:12:27
Last week I have finished our new Social Intranet Framework build with XPages

In this new version, one of my goals was to use a much Java as possible and reduce the Server Side Javascript to a minimum, because that was causing us a lot of trouble the previous version.
I went straight forward with Java Beans for the logic and XPages for the presentation.

The content was dynamically loaded with some Java methods, but mayor problem was to handle the RichText items, containing MIME or HTML.
Notes objects in Java are very unreliable and can not be kept in memory and should be recycled as soon as possible.

Via Skype I had a small chat Jesse Gallagher, the fanastic who ported Ruby on Rails and a lot of others languages inside XPages.
He pointed me to the Javadoc of the XPages Extensibility API and then especially to the DominoDocument object.

This DominoDocument can be kept in memory, so you have access to all your fields of the backend document, and is nicely serialized.

How do you do this

Step 1: a Content object, to hold the DominoDocument,as a private property

Content content = new Content();
private DominoDocument contentDocument;

And a Getter and Setter
public void setContentDocument(DominoDocument contentDocument) {
    this.contentDocument = contentDocument;
}

public DominoDocument getContentDocument() {
   return contentDocument;
}

Step 2: In the Java Bean you have access to your backend NotesDocument.
doc = vw.getFirstDocument();

Step 3: Put this backend document as a DominoDocument in the Content Object.
content.setContentDocument(DominoDocument.wrap(doc.getParentDatabase().getFilePath(),doc,null,null,false,null,null));

Step 4: Access the fields of the DominoDocument. I have created a method who will access the fields.
In my JSFUtil class I have isRecycled method who will check if my backend document is recycled.
When it is the case, the backend document is nicely restored.
So you have always access to yor backend document.
The getValue() will return an object by providing the fieldname.

public Object getFieldValue(String field){
  try{
       if(JSFUtil.isRecycled(contentDocument.getDocument())) {
           contentDocument.restoreWrappedDocument();
         }
         return contentDocument.getValue(field);
                       
     }catch(Exception e){
         Configuration.getOpenLogItem().logError(e);
     }
         return null;
}


Step 5: In my XPages I can call the getFieldValue() method. The return value is an Object, and can be displayed immediately, without conversion.
So you can also display MIME in a RichTextItem or a Number value.
"false" id="contextTypeText">
         return pageBean.getContent(compositeData.contentID).getFieldValue("body");
   }}]]>




Conclusion
Initial setup of the objects and the Java Bean took me more time, but in the end it saves me a lot of time. Especially also my co-workers can easily use the methods in the other ContentTypes, without the need of accessing the Content Object.


Comments Disabled

I am honored to be IBM Champion 2013

chatFrank van der Linden | e-office 11 December 2012 19:40:41
Today during the monthly ICS Community Meeting Joyce Davis has announced the IBM Champions 2013.
And I am one of them.
I am very pleased and honored to be part of a great IBM Champion family
More info.
https://www-304.ibm.com/connections/blogs/socialbusiness/entry/december_10_2012_10_05_pm3?lang=en_us
Image:I am honored to be IBM Champion 2013
Comments Disabled

my small XPages pet project: a different way of presenting

chatFrank van der Linden 23 November 2012 11:39:24
In august this year I read a blog from Mark Roden about his preperations for the MWLUG.
He was showing the different ways of present information in a webpage and not using Powerpoint of other presentation software.

End of september I have asked him if could get the sample database, because I was thinking of do the same for a presentation.
So I created my own presentation database with some help of the code from Mark's sample database.
I was thinking to make it configurable, so no hardcoded slides in the database and all webbased, so no Notes UI.

First step 1 was to build the dashboard, where the presentation and the slides could be managed. I have used the extenstion library and the oneUI 2.1 and made it black
Image:my small XPages pet project: a different way of presenting

Currently the presentation document is like startingpoint. The only thing you can put there is the presentation title.
The slides is where it currently happening
Image:my small XPages pet project: a different way of presenting
At the top you can select the presentation this slide belongs.
Important part in this are the Order, Column and Row.
Order reflect on how the slides are read by the managed bean, to load it to the screen.
Column and Row reflect on the navigation part on the webpage. The navigation, on the lower right part of the screen is build up like a grid.
Image:my small XPages pet project: a different way of presenting

The combination of Order, Column, and Row will tell the navigation how to navigate through the slides, if using the arrow keys.
The background image can be selected. During showing the slides, the background image will be stretched out to fill the background of the slide. And it will resize if the browser window will be resized.
Also the fontcolor and background color of the body can be specified.

When you done with the slides, you can launch the presentation, in the presentation view is a launch link.
Image:my small XPages pet project: a different way of presenting
Image:my small XPages pet project: a different way of presenting
I have tested it in Chrome, Safari, Firefox, Opera, IE9, IE8. It went well for these browsers.

When I was finished and showed it a co-worker, he was thinking we can also use it for a small temporary website. I think it will do for that purpose.
It is lean and mean.

I want to thanks Mark Roden for providing me the sample database.