Our Outlook add-in has stopped working in Outlook 2013 after changing the entry point to onReady. The problem appears to be that the HostType we receive in the info parameter is coming back as Excel. The follow-on to this is that many of the API's under Office.context (e.g. diagnostics, roamingSettings, mailbox) are undefined.
We should be receiving Outlook as the HostType, and the relevant api's should be defined and available.
Excel is reported, and the calls to Outlook specific functions, as well as diagnostics and roamingSettings are unavailable.
We made the change to OnReady to simplify platform detection. We had been using the undocumented sessionStorage.getItem('hostInfoValue') to determine this, but ran into a case where it did not work.
Thanks for reporting this, @Alturos . We're looking into it and will follow up.
This is now a known issue, we have a fix and will soon rollout. thanks for reporting! We are tracking with 2572847 internally.
Closing issue, as the fix for this has been deployed.
I want to know where is the deployed fix? Is it there 'https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js'?
When my office addin app use the this 'https://appsforoffice.microsoft.com/lib/1/hosted/office.js' in outlook 2013 standard version, I still get the object 'Office' is undefined error.
Most helpful comment
This is now a known issue, we have a fix and will soon rollout. thanks for reporting! We are tracking with 2572847 internally.