Servertask line and ExtMgr_AddIns line question for the notes.ini

I would like to verify this with everyone. Lets say I add an extension manager to the ExtMgr_AddIns line of the notes.ini. Because this is code that adds to the Domino events these I believe load in the order that they are place on the line. And if so it could possible change the behavior if two extension managers are in different order. Is this correct?

Also, similar question for server task on the Servertasks line. These do not modify or AddIn code to the existing Domino code (event driven) and these are just server tasks which act very much like any other program on a system. So I do not think the order here really makes any difference. But if I am wrong here please let me know.

Thank you

Subject: RE: Servertask line and ExtMgr_AddIns line question for the notes.ini

I would like to verify this with everyone. Lets say I add an extension manager to the ExtMgr_AddIns line of the notes.ini. Because this is code that adds to the Domino events these I believe load in the order that they are place on the line. And if so it could possible change the behavior if two extension managers are in different order. Is this correct?

No - See Below !!!

Also, similar question for server task on the Servertasks line. These do not modify or AddIn code to the existing Domino code (event driven) and these are just server tasks which act very much like any other program on a system. So I do not think the order here really makes any difference. But if I am wrong here please let me know.

No - The only rule I have found from developing a number of EM addins over the last 10 years is that the ExtMgr_Addin must be after the Servertasks line that it is relevant for !!!

Thank you

NP - NG

Subject: my response

What I meant about modifying is the behavior. If I create an extension manager for example that is set to work on NSFNoteUpdate BEFORE event then my code will run when that event is triggered and before the Domino code for that event is ran. Thereby giving me the power to do something with the note the the event did not do before. This would then change the behavior of the NSFNoteUpdate event.

Technically I am not changing the Domino event code itself but really like adding to it from either before it runs or after.

It has been along time since I have done this and I am not sure if I am remembering this correctly. But I believe I created two similar extension managers that registered on the same before event. I designed them both to change something with a message and to look for the change. If the change was there already then to not touch the message. The reason why I did this was to see if the load order from the notes.ini file made a difference. And I believe it did make a difference.

I need or someone from IBM to verify whether this is the way it is suppose to work. In the mean time I will work on trying this test again to see if this is still the case, just in case I do not get a more definite answer.

Subject: found the documentation N Grant

Hey N Grant, thank you for your response. I thought I was correct on this but just wanted some verification. After your response I did some more digging and found what I was looking for in the documentation.http://www-12.lotus.com/ldd/doc/tools/c/7.0/api70ug.nsf/85255d56004d2bfd85255b1800631684/06fd173414dcdad9852560eb0077ca42?OpenDocument

Notice right after the sample it says “If there are multiple extension managers that process the same notification, each extension manager is notified of that event in the order listed in the EXTMGR_ADDINS entry of notes.ini .”

The whole reason why this came up was a long time ago we had an extension manager running with another third party one and it kept getting precedence over ours. I did a test back then and noticed that we had to come first on the line to prevent this from happening. But back then there was no documentation we could find it seemed to describe this. Recently one of my guys was putting some training together and this came up again so I wanted to make sure the info was correct. This is why I posted here. We have the right information now. Thanks.

Subject: registered callback routines appear to be loading in the order

The registered callback routines appear to be loading in the order of which they are in the notes.ini file. I just wish I could find documentation on this. The only reason this would be important is if two different extension managers were registering callback routines on the same Before or After event.