设置MAPIFolder.WebViewURL(KB4011196 / KB4011178 / KB4011162) [英] Setting MAPIFolder.WebViewURL (KB4011196 / KB4011178 / KB4011162)
问题描述
你好,
我开发了一个VSTO加载项,它在少数几个MAPIFolder对象上设置了WebViewURL属性。自Microsoft Office(10/10/2017)的最新更新以来,设置文件夹主页(以编程方式或通过Outlook UI)的能力似乎已被删除。
我知道这是为了响应报告的安全漏洞(CVE-2017-11774)而做的,但我想知道是否有替代解决方案可以在我的插件中实现,例如白名单特定网址或将控件嵌入面板
或区域?
$
亲切的问候,
RH
Hello,
I develop an VSTO add-in which sets the WebViewURL property on a handful of MAPIFolder objects. Since the latest updates for Microsoft Office (10/10/2017), the ability to set a folder homepage (either programmatically or via the Outlook UI) appears to
have been removed.
I understand that this was done in response to a reported security vulnerability (CVE-2017-11774), but I would like to know if there is an alternative solution that I can implement in my add-in e.g. white-listing a specific URL or embedding a control in a panel
or region?
Kind regards,
RH
推荐答案
我们和RH完全相同 -
We are in the exact same boat as RH -
----------- ----------------------------------------
---------------------------------------------------
我们有一个使用互操作的Outlook加载项产品。 今天早上我们有报告称,自从昨天推出的更新以来,我们的应用程序崩溃了。 似乎无法再设置WebViewURL,因为
是最后一次更新。 我们已在Outlook 2013和Outlook 2016上确认了这一点。
ExceptionMessage:System.Runtime.InteropServices.COMException(0x86204005):操作失败。
ExceptionMessage: System.Runtime.InteropServices.COMException (0x86204005): The operation failed.
在Microsoft.Office.Interop.Outlook.MAPIFolder.set_WebViewURL(String WebViewURL)
at Microsoft.Office.Interop.Outlook.MAPIFolder.set_WebViewURL(String WebViewURL)
请注意,我们对此文件夹使用非默认的PST存储,并且我们已创建注册表项,如下所述:您的文档:
Note that we use a non-default PST store for this folder and we have creating the registry key as described by your documentation:
HKEY_CURRENT_USER \Software \POLicies\Microsoft\office\16.0\outlook\security
< span lang ="EN-CA"style ="font-size:10.5pt; font-family:Consolas"> DWORD:NonDefaultStoreScript
值数据:1(十六进制)以启用。
干杯,
Ivan
Cheers,
Ivan
这篇关于设置MAPIFolder.WebViewURL(KB4011196 / KB4011178 / KB4011162)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!