Plugins 我们可以在office生成的Outlook加载项中使用PrimaryCommandSurface吗

Plugins 我们可以在office生成的Outlook加载项中使用PrimaryCommandSurface吗,plugins,outlook,outlook-addin,office-addins,yo,Plugins,Outlook,Outlook Addin,Office Addins,Yo,是否有任何方法可以使用PrimaryCommandSurface在outlook加载项开发的顶部功能区上显示加载项,如果有,请帮助更新有效的manifest.xml 如果没有其他帮助,如何创建outlook顶部功能区命令插件 <ExtensionPoint xsi:type="PrimaryCommandSurface"> <CustomTab id="Contoso Tab"> <!-

是否有任何方法可以使用PrimaryCommandSurface在outlook加载项开发的顶部功能区上显示加载项,如果有,请帮助更新有效的manifest.xml

如果没有其他帮助,如何创建outlook顶部功能区命令插件

<ExtensionPoint xsi:type="PrimaryCommandSurface">
          <CustomTab id="Contoso Tab">
          <!-- If you want to use a default tab that comes with Office, remove the above CustomTab element, and then uncomment the following OfficeTab element -->
            <!-- <OfficeTab id="TabData"> -->
            <Label resid="residLabel4" />
            <Group id="Group1Id12">
              <Label resid="residLabel4" />
              <Icon>
                <bt:Image size="16" resid="icon1_32x32" />
                <bt:Image size="32" resid="icon1_32x32" />
                <bt:Image size="80" resid="icon1_32x32" />
              </Icon>
              <Tooltip resid="residToolTip" />
              <Control xsi:type="Button" id="Button1Id1">

                  <!-- information about the control -->
              </Control>
              <!-- other controls, as needed -->
            </Group>
          </CustomTab>
        </ExtensionPoint>

      <ExtensionPoint xsi:type="ContextMenu">
        <OfficeMenu id="ContextMenuCell">
          <Control xsi:type="Menu" id="ContextMenu2">
                  <!-- information about the control -->
          </Control>
          <!-- other controls, as needed -->
        </OfficeMenu>
        </ExtensionPoint>

PrimaryCommandSurface代表Office中的功能区。在Outlook中,我们处理读取或撰写项目,因此我们应该使用
MessageReadCommandSurface
来处理接收的项目,例如:

<ExtensionPoint xsi:type="MessageReadCommandSurface">
  <OfficeTab id="TabDefault">
        <-- OfficeTab Definition -->
  </OfficeTab>
</ExtensionPoint>
如果需要在Outlook中为组合项目显示功能区UI,则需要使用
MessageComposeCommandSurface
扩展点,在功能区上为使用邮件组合表单的加载项放置按钮:

<ExtensionPoint xsi:type="MessageComposeCommandSurface">
  <OfficeTab id="TabDefault">
        <-- OfficeTab Definition -->
  </OfficeTab>
</ExtensionPoint>

和将控件放置到“自定义”选项卡中:

<ExtensionPoint xsi:type="MessageComposeCommandSurface">
  <CustomTab id="TabCustom1">
        <-- CustomTab Definition -->
  </CustomTab>
</ExtensionPoint>


有关详细信息,请参阅。

是否有任何方法可以创建添加,该添加位于功能区中,而不是“撰写”或“阅读”项目中。就像我们有会议缩放功能一样?还有其他扩展点,如
AppointmentAttendeeCommandSurface
,它在功能区上为向会议与会者显示的表单添加按钮。请看我在文章中提到的可用扩展点。我们如何创建像zoom for outlook那样的插件?这是另一个问题,因此我建议单独发布一个新问题。
<ExtensionPoint xsi:type="MessageComposeCommandSurface">
  <CustomTab id="TabCustom1">
        <-- CustomTab Definition -->
  </CustomTab>
</ExtensionPoint>