We help IT Professionals succeed at work.

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

jacbarker
jacbarker asked
on
Medium Priority
540 Views
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?
Comment
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.

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

LotusScript/COM/OLE Classes:
http://www-12.lotus.com/ldd/doc/domino_notes/6.5.1/help65_designer.nsf/b3266a3c17f9bb7085256b870069c0a9/eb86f9173dbd7bde85256e00004a4459?OpenDocument

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#):

http://www.experts-exchange.com/Q_24106489.html


Hope this helps,
Mb¤
mbonaci,

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

Commented:
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...

Author

Commented:
Thanks Bill, I got the documentation but now cannot open it. I've got another question here:
http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/Lotus_SmartSuite/Lotus_Notes/Q_24168207.html
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.

OR

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.