Office JS API: ItemChanged event is not fired, current Item has old context

1

If Add-In is pinned in the latest Outlook 2016 (16.0.9226.2114) for ~60 minutes ItemChanged event is not being fired, current Item has old context from some email message which was opened a long time ago. It seems that https://appsforoffice.microsoft.com/lib/1.1/hosted/outlook-win32-16.02.js has been updated which caused the regression.

We see the following errors in the console: SEC7120: Origin https://staging-addinsf.smartcloudconnect.io not found in Access-Control-Origin header main.html This error could be related to No stack trace info when error happens in Office JS API

SCRIPT7002: XMLHttpRequest: Network Error 0x80700013, Could not complete the operation due to error 80700013. Main.html

SCRIPT7002: XMLHttpRequest: Network Error 0x80070005, Access is denied

Note, when Add-In is re-loaded (mouse right click -> "Reload") the issue is gone and everything works fine.

javascript
office-js
outlook-web-addins
asked on Stack Overflow May 3, 2018 by Sviatoslav Lobach • edited May 4, 2018 by Sviatoslav Lobach

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0