Office Outlook Web Addin does not work on Office Client 2016

蓝咒 提交于 2020-01-14 05:17:07

问题


I have developed an addin using Angular 5 version, I have built it and deployed on a Apache server with sercure http, I have tested this addin on Office Web App by logging in with Different users and I see that it works as I expected,

But the problem Now is I opened the Outlook Client with specific user configured with it, Addin Icon on the ribbon appears but when I click on it just shows the Empty section in Addin window at the right side.

The Icon and name of Add-In appears on the Ribbon, Even after I click the Add-In Button the Name of the Add-In appears as a header in Add-in window but rest is blank with no error message.

Note: The Outlook Client is on another machine mut on the same domain. On this machine I tried the Add-In from browser it works fine.

Office Outlook Client Version is "Microsoft Outlook 2016 MSO (16.0.4639.1000) 32bit

Exchange server Version is "Version 15.1(Build 1466.3)"

In Outlook Client I also want to know that how can I debug the Addin.

Where I can see the error logs if button dont appears in the Outlook Clients its all stucked in between.


回答1:


I got the solution in this case, The actual problem is Document mode of Internet Explorer.

As we know that Web Add-in uses Internet Explore Frame to load. After when I debug it Using F12 Debugger. I came to know in the Emulation section the document mode was default selected to 7. And the Document Mode 7 doesnt have latest supported JavaScript suport(My Addin is built on Angular 5 version using Routes).

So in index.html of my Add-in Project I missed to mention the document mode in Header with meta tag, that which emulation version I want to run the script with.

I have added to head of index.html in my add-in

<meta http-equiv="X-UA-Compatible" content="IE=10" />

Now it works on my client and uses emulation Document Mode 10




回答2:


You can debug your add-in in Outlook Desktop by attaching a debugger. You may not see the affordance like in Excel, but right clicking on the taskpane will show the same control to attach the debugger in the context menu.



来源:https://stackoverflow.com/questions/52295729/office-outlook-web-addin-does-not-work-on-office-client-2016

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!