Outlook加载项(NetOffice)-关联菜单
我正在使用开发MS Outlook加载项,我想在日历中添加一个自定义上下文菜单项,以允许用户为选定的时间范围添加新的自定义约会 因此,如本文所述,我以以下方式在RibbonUI.xml中定义了我的附加项:Outlook加载项(NetOffice)-关联菜单,outlook,outlook-addin,netoffice,Outlook,Outlook Addin,Netoffice,我正在使用开发MS Outlook加载项,我想在日历中添加一个自定义上下文菜单项,以允许用户为选定的时间范围添加新的自定义约会 因此,如本文所述,我以以下方式在RibbonUI.xml中定义了我的附加项: <customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui" onLoad="OnLoadRibonUI"> <ribbon> <tabs> <ta
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui" onLoad="OnLoadRibonUI">
<ribbon>
<tabs>
<tab idMso="TabAppointment">
<group id="Group0" label="Addin" insertBeforeMso="GroupShow">
<button id="convertButton" label="Convert" getImage="ConvertImage" size="large" onAction="ConvertButton_Click" />
</group>
</tab>
<tab idMso="TabCalendar">
<group id="Group1" label="Addin" insertBeforeMso="GroupGoto">
<button id="aboutButton" label="New Custom Meeting" getImage="GetNewImage" size="large" onAction="NewMeetingButton_Click" />
<dialogBoxLauncher>
<button id="settingsButton" screentip="Addin Settings" onAction="SettingsButton_Click"/>
</dialogBoxLauncher>
</group>
</tab>
</tabs>
</ribbon>
<contextMenus>
<contextMenu idMso="ContextMenuCalendarView">
<button id="MyContextMenuCalendarView"
label="ContextMenuCalendarView"
onAction="OnMyButtonClick"/>
</contextMenu>
</contextMenus>
</customUI>
应该是:
xmlns="http://schemas.microsoft.com/office/2009/07/customui"
我一眼就看不出有什么问题,但在Outlook中启用开发模式-这样Outlook将在XML中报告所有问题。单击
文件|选项|高级|开发人员|显示加载项用户界面错误
谢谢!这让我想到了这个问题(我的问题中增加了解决方案)——我想这会让我在未来看到很多问题。不知道此选项:)
xmlns="http://schemas.microsoft.com/office/2009/07/customui"