Archives for the ‘Lotus Notes’ Category

14 Mar 2013
0

Video Tutorial: Get up and running with Lotus Domino Designer 8.5.3

Hi everyone. So here’s my next Video Tutorial. I show you how to download Lotus Domino Designer 8.5.3 and I also give a quick demo on how to set up your first Notes Application.

I decided to go back to basics and assist those who are new to IBM (Lotus) Notes, especially those who want to get started on Notes/Domino and XPages Development. I end off the Video Tutorial showing you how easy it is to create a working CRUD Application (Create/Read/Update/Delete) in the Notes Client.

If you use iTunes, you can download this video via David Leedy’s NotesIn9 Podcast series.

Enjoy :)

John.

1 Nov 2012
28

Notes Classic vs Notes for Eclipse. A glass case of emotions

The past few days I’ve been involved with quite a lot of Std Notes Development. Waking up this morning I realized that working in Notes 8 Eclipse, as awesome as what it is for many reasons related to XPages, has come at some cost. I’ve been working on a Project that required no XPages Development, and decided to run Notes 8 Classic just to get a feel for it. In doing so, i’ve identified the following that makes me frown daily:

1. The Speed

DDE (Domino Designer in Eclipse) is quite a bit slower than Designer 8 Classic or prior releases. Every time I open DDE for the first time I go make myself some coffee so that it can finish up whatever it’s trying to do. DDE is also less responsive to what i’m used to in prior releases of Notes. Every time i click on something there’s this delay before it reacts.

2. The Build

Ok, this is probably the bane of my existence. How I miss the days of “Modify, Save, Preview”. Now, it’s “Modify/Save/Build/Preview/Hmm, it must have not built properly/Build again/Preview/Dammit, now what!!!/Clean/Build/Preview/Finally! I’m all for XPages but there’s got to be a better way. It’s gotten worse lately where if I have a Local Replica where I design all my changes, then build and replicate with the Server, 60% of the time I have to open the Replica on the Server and re-build, which sometimes takes up to 3 minutes depending on size, etc. This has given me massive amounts of frustration and unnecessary time wasted.

3. The Crashes

It almost feels like DDE is in a bad mood by default, until you can somehow convince it otherwise. I had to install Subversion in DDE on multiple machines the other day. 5 out of the 6 machines resulted in their DDEs crashing and none of them for the same reason. I couldn’t believe my luck. 5 out of 6. Is this the cost of having functionality like XPages, Source Control, etc?

 

I apologize that this is not one of my more positive Blog Posts, but I realized this week what a joy it was to work in Classic Domino Designer. Yes, sure Eclipse brings a lot to the table, but most definitely not for free.

I’d love to hear feedback from everyone on their experiences. Maybe this post could result in finding a way to have DDE Perform the way we all want it to.

 

Cheers

John.

29 Aug 2012
6

Notes Database Performance Tip: Optimize Document Table Map

Hi Everyone. In the past few days I’ve been asked to audit a few Notes Applications. Apart from the usual disabling of unread marks and removing views no longer used to increase performance, there is a very important setting on a Notes Database and can drastically reduce the indexing time of Notes Views.

It’s called “Optimize Document Table Map“.

Firstly, a quick scenario:

Let’s say you have a Notes Application that contains about 5 different Forms. For each form you have about 3 – 5 Notes Views. Also for each Form you have about 5000-10000 documents.

When it comes to indexing Views, if the property “Optimize Document Table Map” is not selected in the Notes Database Properties, the following happens:

When indexing a certain View,  Notes will search through all documents created from all 5 Forms in the Database to produce the result in the View. If you only have a few hundred documents in the database, then this is not an issue. However, 50 000 documents later this could lead to poor performance of your Views.

 

So, let’s say that you have “Optimize Document Table Map” selected in the Notes Database Properties, the following will happen:

When indexing a certain View, Notes will only search through all records in the Database that were created using the Form that’s specified in the View Selection Formula. This means that if you have 5 Forms in the Database, and 5 000 records for each Form, Notes will only search through 5 000 records for a specific Form to index the Notes View. Can you imagine the Response Time :)

 

So, where to enable this setting? If you right-click on your Notes Database and go to the “Database Properties”, click on the last tab. You will see towards the Top that you can check the option “Optimize Document Table Map

 

2 Important Notes when enabling this Setting:

1. I’ve had varied results with enabling this property and just expecting it to work. I highly recommend compacting the database after enabling this Setting just to be sure.

2. In order for this setting to Work, it’s very important that your View Selection Formula for your Notes View specifies the Form Name.

i.e. If your View Selection Formula only says Select FirstName = “John”, then you won’t see a performance boost on the view. However, if you say Select Form = “Person” & FirstName = “John”, this will work because you are referencing the Form Name inside the View, which if you think about it, makes sense.

 

I hope this helps everyone. Happy Coding :)

John

16 Feb 2012
3

TIP: Changing Window Perspectives in Lotus Domino Designer

Hi everyone. Have you ever experienced working on an Application in Domino Designer with your team, and when they create new design elements it doesn’t show up on your side, forcing you to remove and re-open the Database Bookmark?

Another scenario is if you decide to change your Design Perspective from XPages to Domino Designer in order to view design elements such as Outlines, Pages, etc….only to sit there wondering why these designs aren’t showing.

 

This was never an issue in earlier versions of Domino Designer (prior to Eclipse Designer), but the good news is that you can sort this issue out in 2 simple steps.

 

Step 1 - Right Click on your Database’s Bookmark, and click on “Refresh“.

Step 2 - Make Coffee.

 

I hope this makes Domino Designer a friendlier Development Environment for you. Until next time.

Cheers