Change Twisty On Lotus Notes Outline

The outline Notes design element is pretty handy to build navigation for your Notes client, but we found one drawback. If you have collapsable entries, then you’re limited to the standard twisty images (the dark blue ones). This color may or may not go with your application’s color scheme.
Read more…

Viewed 6633 times by 2226 viewers

Change Lotus Notes Replica ID

In a recent project, we were copying databases from one server to another. There were many databases to do, so we decided to write an agent to do the copy. But we wanted copies, not replicas. We found out that the NotesDatabase.CreateCopy method does not copy documents (it only copies the design). We could have used that method, then got a handle to all the documents in the source database and copied them over to the destination database. But instead we used another approach.

Read more…

Viewed 9386 times by 3240 viewers

Lotus Notes Client Background Agents

Notes 6 agents introduced the ability to run a client agent in a background thread. This is a very powerful feature, but you have to know how to properly use it. First off, you cannot perform any UI tasks. However, this is not a drawback. Print statements do work – the results go to the status bar just like any other agent running on the client. The MessageBox LotusScript statement also works. A message will be popped up for the user, and you can proceed in your agent based on the answer (your agent waits until the box is clicked).
Read more…

Viewed 8635 times by 2915 viewers

Show Error Message In Lotus Notes Status Bar

What causes this error and what do you do about it?

Well, if the error is in some LotusScript, then you should get a pop up of “Object Variable Not Set” or whatever the error happens to be. If the error is with a computed or computed for display field, that error should pop up also. If you are composing a document and the error is in a default field value for an editable computed or with a computed when composed field, that error also will pop up in front of you. So what does that leave?
Read more…

Viewed 8153 times by 2135 viewers

Track Who Replicated Deleted Documents Back to Lotus Notes Database?

Has this ever happened to you: all of a sudden you see thousands of documents that were deleted months ago back in your application. Just about everyone I know who has created an application with local replicas has seen this happen. And everyone who has seen it wants to find out who did it so they can give them 20 lashes with a wet noodle. (Or at least a replication lesson).
Read more…

Viewed 13154 times by 3029 viewers

Add Image With Text On Top of Lotus Notes Designer

When creating a new application recently, I was given a logo image by the customer to be included in the upper left corner of the application (it was a Notes client application). The customer wanted also to have the application name appear on top of the image.
Read more…

Viewed 5942 times by 1623 viewers

Computing WebDbName on the Domino Server

The document I was updating was a profile document in the other database (not the one where the agent was running). One field on the profile is a path to the database – in the form of “http://server_host_name/” + @WebDbName. I couldn’t use a computed field with “compute with form” because the server host name couldn’t be looked up. In my script I would compute the host name (I had a hard-coded table of servers and hosts names) inside the script and then set the field value. How did I do the @WebDbName part since my agent was running in another database?

Read more…

Viewed 8185 times by 2107 viewers

Using Lotus Notes Permanent Pen

We deal a lot with requirements emails going back and forth, or with questions being raised in emails going back and forth. Permanent pen is a great way to answer emails. We can answer questions right in-line in the reply, but in our own font/color (so our reply stands out).
Read more…

Viewed 6852 times by 2751 viewers

How to use Public/Private Views/Folders in Lotus Notes

What’s the difference?

Well, public views and folders are used by everyone. For a public folder, if a document is placed into the folder then everyone sees the document in the folder (assuming they have reader access to the document).
Read more…

Viewed 10689 times by 3789 viewers

Using Lotus Notes Color Fields

The Notes Designer help on color fields is a little confusing. It’s talking about having your column formula go against a profile and all kinds of confusing items. That’s the way it was described because that’s the way the mail template uses color fields. But let’s say you have an application and you want different documents to show up with different foreground and background colors in the views, but you want these values to be controlled by an administrator. It’s an application used by many people, but the color control only comes from a few people. Do you have to do this the way the profile talks about?
Read more…

Viewed 6904 times by 2103 viewers