Search code examples
javascriptoffice365outlook-addinoffice-addinsoffice-js

catching "onChange" event in outlook 365 add-in


I like to catch an onchange event in outlook 365. In particularly if the time changes. I can't find any documentation on the subject.

I have seen other add-ins like "FindTime" from microsoft do it. If you add an attendee, the add-in detects it and updates. Also an add-in like "uber ride reminder", if you change the time it checks if its in the past of future.

How do these add-ins hook up there events?

api reference

is there another way to do this?


Solution

  • I believe they are using Webhooks:

    http://graph.microsoft.io/en-us/docs/api-reference/v1.0/resources/webhooks

    Otherwise I'm with you - there needs to be way more events in the JavaScript for Office/Mail API