1

我正在尝试使用 MAPI 在 SharePoint 中显示公共日历。下面的示例代码与安装了 Outlook 2007 的机器完美配合。但 Outlook 2010 不显示大的白色块。

这是安全吗?Outlook 2010 是否支持 MAPI?非常感谢任何建议。

<OBJECT classid=CLSID:0006F063-0000-0000-C000-000000000046
id=ViewCtlFolder
width="100%"
height="430"
codebase="http://activex.microsoft.com/activex/controls/office/outlctl x.CAB#ver=9,0,0,3203">
<param name="Namespace" value="MAPI">
<param name="Folder" value="\\Public Folders\All Public Folders\Training Calendar">
<param name="Restriction" value="">
<param name="DeferUpdate" value="0">
</OBJECT>
4

1 回答 1

1

Outlook 2010 supports MAPI just fine. Unfortunately, you are not using MAPI. You are using the Outlook View Control.

Support for this control is still included in Outlook 2010, but it's use is restricted to in-process Outlook use, like custom folder pages.

Quote from the first link:

Do not use the View Control in any scenario outside the Outlook process, such as in an HTML page hosted in a browser. Out-of-process scenarios are not supported.

于 2011-12-20T19:47:29.137 回答