Multiple Addons listening for one outlook event

Add-in Express™ Support Service
That's what is more important than anything else

Multiple Addons listening for one outlook event
 
BerndH




Posts: 99
Joined: 2014-09-23
Hi,
if my outlook has more than one addon listening to an outlook event,
will they all react e.g. on newinspector event, or just one?

Bernd
Posted 05 Jul, 2021 14:56:07 Top
Andrei Smolin


Add-in Express team


Posts: 18823
Joined: 2006-05-11
Hello Bernd,

Outlook, Excel and all other Office applications raise their events for all listeners. The order in which the listeners are triggered should be the order in which the listeners get connected to events. Typically, add-ins connect to events at startup and thus they get connected in the order in which Office loads them; that seems to be the alphabetical order of add-ins' ProgIDs.

A way to change the connection order (e.g. when investigating an issue) is to turn off an add-in and then turn it on during the same session.

A listener may cancel an event (if it is cancellable). In this case, other listeners won't receive the event.


Andrei Smolin
Add-in Express Team Leader
Posted 06 Jul, 2021 01:34:22 Top