• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 526
  • Last Modified:

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

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?
  • 2
  • 2
1 Solution
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".
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...
jacbarkerAuthor Commented:
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.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now