Closed qystaubai closed 6 months ago
The issue also occurs for Word, Office 2016 on WIndows.
This issue also occurs in Excel 2016 and was reported by multiple customers. I reproduced it with Excel 2016 VLSC. I assume the customers also have VLSC.
Seeing that as well since today in Outlook 2016 with IE11
Seeing issues loading Dynamics CRM app for Outlook today that could be related to this issue. It gives this error that normally means it can't load office.js: "Error: window.Office not available"
We also got reports from our users with the Word 2019 volume license (using IE as add-in engine).
Update: We've did quick investigation on our side and have exactly same error in Word, from office.js (80, 15)
@exextoc - can you update flag that this affects all Office applications that are using IE11 as their engine?
Our Outlook 2016 customers are also affected by this. They are reporting about Task Pane getting stuck at loading, and the underlying error is "Office" in undefined"
and/or "OfficeRuntime" is undefined
.
Our Outlook 2016 customers are also affected by this. They are reporting about Task Pane getting stuck at loading, and the underlying error is
"Office" in undefined"
and/or"OfficeRuntime" is undefined
.
The same with our customers who use Trinity in Outlook
@exextoc is there any workaround for now? Would installation of WebView2 and registry change described in Understanding the Office Add-ins runtime article help for users of non-Office365 versions of Outlook?
The same with our customers who use Trident in Outlook on both 2016 and 2019 (VL), is there an ETA on a fix or rollback?
we are seeing this also. Looking at the office.js file it looks like it's using arrow notation and throwing syntax errors in IE11
Same issue. Word 2016/2019 versions that load IE11 can no longer load some add-ins.
Our Excel add in is no longer working in Windows Desktop Excel 2019 using IE 11. This breaks the promise that we can have add ins work with that platform/browser. Super disappointing as that is still used in Corporate America.
Also had this problem today. Solved it by switching from the CDN to a locally hosted copy of the files. I grabbed them via npm per the instructions on the main page here. The office.js file is in the /dist/ folder, you just need to load the entire folder to your project and switch your script CDN declaration to use it instead. Something like:
<script src="/js/office-js/dist/office.js">
Hope this helps someone out there!
@exextoc is there any workaround for now? Would installation of WebView2 and registry change described in Understanding the Office Add-ins runtime article help for users of non-Office365 versions of Outlook?
Installing WebView2 would probably work for Office 2019 and Office 2016 retail but not for Office 2016 VLSC.
Hi all, so sorry about the issues you are facing! We have initiated a rollback of this update to office-js and are taking care to ensure IE11 compatibility with any future updates. The rollback should be completed soon - in the meantime, @BrentonWildes and @ndreisg are correct about these potential short-term workarounds.
Any update on when this might be solved ?
We completed the rollback to a stable version late last night. Please let me know if issues persist.
Ok great, the customer has testet addin in Outlook for CRM and it is working now. Thanks
Thank you, here in the EU everything is working now, since this morning.
Starting today an error occurs when office.js loads in older Outlook client like 2016 that uses IE11.
Office.js is loaded using CDN https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
SCRIPT1002: Syntax error office.js (80; 15) the line is
var oteljs;(()=>{"use strict";
SCRIPT5009: Office not defined the line is
Office.onReady(...)
Provide required information needed to triage your issue
Your Environment
Expected behavior
Office js should not give syntax errors and run on IE11
Current behavior
I believe it has to do with with arrow functions () => that are not transpiled and cannot run on IE11
Steps to reproduce