Search code examples
outlookoutlook-addinoffice-jsoutlook-web-addinsoutlook-restapi

Is it possible to detect when the user changes the date of an appointment directly from the calendar?


I am writing an outlook web Add-In where the user can create an appointment and book a meeting room through the software.

The problem is that once the user closes the Add-In and goes back to the calendar, they can freely change the date of the appointment by dragging it around, and the Add-In cannot see those changes, since it's not open.

That means that those changes do not get registered into the system and are essentially only local to the user who made them. I need a way that I can detect whenever the user changes the date of an appointment, so that I can update the data on my end.

I have heard about subscribing to notifications but I'm not sure that is the best solution. Any Ideas would be highly appreciated.


Solution

  • Not from a web addin - you can do that from a standalone app that continuously runs and uses either the Outlook Object Model (Items.ItemChange event) or EWS to receive the folder notifications. Or you can do that from a COM addin that uses the Items.ItemChange event.