bookmark_borderINDIP: beware of the document.copytoDatabase method!

We had to merge two applications, so I created a background agent which copied all required documents to the “new” database. The customer tested and we set a due date for the real migration.
The night before actual migration I run an agent which deleted all “test” migration documents before the real agent to copy the documents run again!

Next morning I came to the office and thought: oh my dear. something went wrong! Only a few dozen documents had been copied, I thought!

So I rerun the agent again. First all seemed to be fine. Then a few hours later documents started disappearing. With no obvious reasons.

It took me about 3 hours to figure out that the method document.copyToDatabase would create the same UniversalId again!

So after having deleted the first round of “test” documents and recopied again at due date, the universalids of the documents had been in the deletion list of the LN db already. That’s why they started disappearing again after a while!

So I had to delete everything again to make sure, rerun the copy agent again but this time change the universalid.

Took me roughly a day to fix everything, something which normally would have taken about one hour.

bookmark_borderdo you ever read “release notes”?

it’s been a while since my last post here.

i usually don’t really read release notes, do you?

but did you know those cool features about the new table edititing possibilities in the LN8.5 client?

  • Drag column or row margins to resize
  • Drag the margins of the entire table to resize it
  • Drag the contents from one cell to another
  • Set the table width when creating a fixed width table
  • Easily insert a new row or column by holding down the Shift key and double-clicking the common border

or these ones:

  • a new Folder column in the mail All Documents view displays any mail folders that a document is in
  • From any mail view, right-click on the Trash folder and select Empty Trash.
  •  Back by popular demand, you can use red text to indicate unread documents. Click File > Preferences, and then click the Fonts and Colors preference. For the field Unread mail indication, select Plain red text. Also note that this preference provides you with an easy way to enlarge the text in the data areas of Notes, such as the Inbox and messages.
  • To select an alternate email address, when you begin typing a name, select Other email Addresses from the menu that appears. The more frequently used addresses display at the top of the list.
looking forward to more exciting features

bookmark_borderfind/use applications most easily in the Lotus Notes client

Do you hate the “Workspace” in Lotus Notes?
Are you lost finding your applications?

Solution:
1. use bookmarks and folders and give the folders intelligent names
2. use the open button (<alt gr><b> or <ctrl><alt><b>, <alt gr> = the righthand-side <alt>)

I have a project called AWC. typing in awc will find too many items. but using .AWC as a folder (DOT AWC) I can enter .awc and it lists only that folder

In fact you can use any character as prefix for your foldernames. I found the “.” to be easy to access, easier than @ or # or +