-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Office.js has not fully loaded. Your app must call "Office.onReady()" as part of it's loading sequence (or set the "Office.initialize" function). If your app has this functionality, try reloading this page. #246
Comments
Have found the difference. Javascript support differences. I had done a copy array as Had to get a Windows Machine and run this to test and found this problem. It had worked in all other environments. |
did you looked into this article? https://docs.microsoft.com/en-us/office/dev/add-ins/develop/understanding-the-javascript-api-for-office there is a sample on how to initialize your add-in logic. please try an let us know if solved your issue. |
What the hell. We're seeing this error popup all of a sudden, just before an important demo of our add-in... is using if so, the documentation is definitely not up to date because it states that both mechanisms can still be used: |
Ah. all of a sudden it magically works again. intern deploy reverted, I guess... |
I have the same questions! |
@michahell is it possible that you were on a slower network connection when you experienced the problems with FYI, the documentation page has been updated to clarify the current behavior, as shown here: We're rolling out a change to eliminate the need for an empty |
It works when I developed in Visual Studio. select '提取数据' add-in button. https://www.chengfeisoft.com/dfzq-office/ExcelIndex.html
|
@dmahugh OK, we're moving to the |
For the |
Is this issue is fixed? As I am still getting the same error when my outlook add-in loads. In some of the systems it's working fine but in most of the systems it shows the same error. Is Office.js depends upon system configuration or browser or any compatibility issue? |
I am facing the same error on macOS Catalina(14.15.7) for the outlook add-in. Is there any workaround to fix this error? |
You can try converting the ES6 syntax to ES5 as the office add-in use Internet Explorer internally where ES6 is not supported in IE11. May be you are using the arrow function while calling the function office.onReady(() =>{}) You can refer to this too - #1866 |
I was facing the same issue and I have solved it by switching office 2019 to Office 365. This works fine now. |
I am facing same error in same situation. When I am testing my office Word add-ins, it works on office 365 but throw error on office 2019. Error: "Office.js has not fully loaded. Your app must call Office.onReady()" |
My code works with Online version and also with the Mac Version of Excel, but is failing with this error message for Windows Excel.
Error: Office.js has not fully loaded. Your app must call "Office.onReady()" as part of it's loading sequence (or set the "Office.initialize" function). If your app has this functionality, try reloading this page.
There is talk about onReady, but no real example of this being used.
Example Code
This based upon the Excel Tutorial for JQuery https://docs.microsoft.com/en-us/office/dev/add-ins/tutorials/excel-tutorial
There is about ~3,000 lines of code after this in the bundle.s file.
The text was updated successfully, but these errors were encountered: