the o365 office add-in’s cached add-in is null

 let timer = setInterval(getOfficeItem, 1000);
 function getOfficeItem {
     if (Office.context.mailbox.item) {
        // Your logic

Above is a block of code that I was able to come up with to await the Office item on an ItemChanged event

Update: This seems to have been fixed for replies but not drafts.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top