G
Guest
Hi,
I made an add-in which captures the ItemAdd events for appointments and
presents the user with a window.
This also works for calendars of additional mailboxes (if there are any).
The thing is... if somebody makes an appointment in such an "additional"
calendar, all other users which also have the add-in and also have the same
mailbox in their outlook will get that window also when the appointment is
made.
Does anybody have an idea how I can prevent this from happening? Only the
user who initiates the appointment should get that window. Not the users who
also added that calendar in their Outlook. I tried to do it by comparing the
"organizer" field of the appointment with the user who is logged on. This
doesn't work because the organizer is filled with the name of the owner of
the calendar, not the person who is making the appointment in the calendar.
I made an add-in which captures the ItemAdd events for appointments and
presents the user with a window.
This also works for calendars of additional mailboxes (if there are any).
The thing is... if somebody makes an appointment in such an "additional"
calendar, all other users which also have the add-in and also have the same
mailbox in their outlook will get that window also when the appointment is
made.
Does anybody have an idea how I can prevent this from happening? Only the
user who initiates the appointment should get that window. Not the users who
also added that calendar in their Outlook. I tried to do it by comparing the
"organizer" field of the appointment with the user who is logged on. This
doesn't work because the organizer is filled with the name of the owner of
the calendar, not the person who is making the appointment in the calendar.