Share via

Outlook add-in event remove recurrence will not trigger the handler 'RecurrenceChanged'?

Anonymous
2024-10-16T03:07:09.54+00:00

i add the handler 'RecurrenceChanged', and when i change the recurrence will trigger correctly.

But when i click the remove button, it will print nothing.

Here is the code.

Office.onReady(() => {
  isOfficeInitialized = true;
  render(App);
}).then(() => {
  Office.context.mailbox.item.addHandlerAsync(
    Office.EventType.RecurrenceChanged,
    (eventArgs) => {
      console.log('eventArgs', eventArgs);
    },
    (result) => {
      console.log('result', result);
    }
  );
});

The ideal result:

When i click the remove btn, i can know it and do something callback after it.

Microsoft 365 and Office | Development | Other
Outlook | Windows | Classic Outlook for Windows | For business
0 comments No comments
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.