I have an Outlook addin for calendar events, with a task pane. From the pane, I get the event data:
date start: item.start.getAsync()
date end: item.end
With the code you gave me in the comment, i get the recurrence when it changes:
Office.context.mailbox.item.addHandlerAsync(Office.EventType.RecurrenceChanged, handler, callback);
But only 'handler' function is called, where the recurrence is valid: console.log(JSON.stringify(eventarg.recurrence));
Office.context.mailbox.item.addHandlerAsync(Office.EventType.RecurrenceChanged, handleRecurrenceChange);
In this case, handleRecurrenceChange is called but when I call item.recurrence.getAsync() i get result.value = null
The same if I call item.recurrence.getAsync() when I need the recurrence (I get null)
I would like to get the recurrence when I need it (I can get all other event values properly), without saving it when changed, if possible...
Regards,
Diego