We help IT Professionals succeed at work.

Are there any events in the Lotus Notes "Lotus Domino Objects" API?

jacbarker asked
Medium Priority
Last Modified: 2013-12-18
Are there any events that can be hooked into using the Lotus Notes API "Lotus Domino Objects" or "Lotus Notes Automation Classes".
I have added a reference to these 2 type libraries and wish to have events fire when an email is sent or a document opened. Is this possible?
Watch Question

No.  In order to provide that type of hook, you will need to use the C or C++ API to write an add-in DLL. The DLL that you write will be referenced in the notes.ini file in the "EXTMGR_ADDINS" or "NSF_HOOKS" key.  For example, in my Palm Conduit application, I wrote a login manager hook that automatically logged-in the current user.

Each library contains several examples.  For my login manager, I started with the C API's EXTPWD example.

Yes, you mentioned "Lotus Domino Objects", which is a set of objects exposed by Lotus Notes through OLE.

LotusScript/COM/OLE Classes:

Here is another link, this one opens the question in which you can find URL for Domino Designer Help, where all Domino classes and their data and function members are explained (also, you have example there of using Domino objects from C#):


Hope this helps,

LotusScript/COM/OLE - none of these libraries have the hooks that jacbarker is looking for.  These libraries are used for designing applications only.

C and C++ - these libraries can be used to create applications, but also have the capability to write Notes client addins that modify the behavior of the Notes client.  Specifically, jacbarker needs to write a "Database Hook Driver".  From the C API documentation: "Database hook drivers are programs that gain control each time a document is opened, updated, or categorized".

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

No, you're right, you cannot create hooks, but why not tell him what are the libraries he talks about, and where he can find out more about what it can be done using them.

Maybe there's a another solution to his problem...


Thanks Bill, I got the documentation but now cannot open it. I've got another question here:
If you would like to take a look.
Thanks for your help.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.