[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 524
  • 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?
0
jacbarker
Asked:
jacbarker
  • 2
  • 2
1 Solution
 
Bill-HansonCommented:
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.
0
 
mbonaciCommented:
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Ā¤
0
 
Bill-HansonCommented:
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".
0
 
mbonaciCommented:
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...
0
 
jacbarkerAuthor 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.
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

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