Office Outlook Web Addin 在 Office Client 2016 上不起作用 [英] Office Outlook Web Addin does not work on Office Client 2016

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

问题描述

我使用 Angular 5 版本开发了一个插件,我已经构建了它并部署在带有 sercure 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 客户端,功能区上的插件图标出现,但是当我点击它时,它只会在右侧的插件窗口中显示空白部分.

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 客户端位于同一域中的另一台机器上.在这台机器上,我从浏览器中尝试了加载项,它工作正常.

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 客户端版本为 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 客户端中,我也想知道如何调试插件.

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 中,我没有提到带有元标记的 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 Addin 在 Office Client 2016 上不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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