Office Outlook Web加载项不适用于Office Client 2016 [英] Office Outlook Web Addin does not work on Office Client 2016

查看:340
本文介绍了Office Outlook Web加载项不适用于Office Client 2016的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用Angular 5版本开发了一个插件,我已经将其构建并部署在具有安全HTTP的Apache服务器上,并通过与其他用户登录在Office Web App上对该插件进行了测试,我发现它可以正常工作预期

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,

但是问题是,现在我以特定的用户身份打开了Outlook Client,功能区上的加载项"图标出现,但是当我单击它时,仅在右侧的加载项"窗口中显示空白"部分.

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.

注意:Outlook客户端位于同一域的另一台计算机mut上.在这台机器上,我尝试了从浏览器加载的程序,效果很好.

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版本为" Microsoft Outlook 2016 MSO(16.0.4639.1000)32位

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

Exchange服务器版本为版本15.1(内部版本1466.3)"

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

在Outlook Client中,我还想知道如何调试外接程序.

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

如果按钮未出现在Outlook客户端中,并且所有按钮都卡在它们之间,我可以在其中看到错误日志.

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

推荐答案

在这种情况下,我得到了解决方案,实际的问题是Internet Explorer的文档模式.

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

我们知道,Web加载项使用Internet Explore Frame进行加载.之后,当我使用F12调试器对其进行调试时.我在仿真"部分知道文档模式默认选择为7.文档模式7没有最新支持的JavaScript支持(我的插件"是使用Routes在Angular 5版本上构建的).

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).

因此,在我的外接程序项目的index.html中,我没有提到带有meta标记的Header中的文档模式,即我要用来运行脚本的仿真版本.

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.

我已在我的加载项中添加到index.html的头部

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

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

现在它可以在我的客户端上运行并使用仿真文档模式10

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

这篇关于Office Outlook Web加载项不适用于Office Client 2016的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆