You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Outlook加载项Manifest文件报错:无效xsi:type 'FocusedInboxTab'

问题解决:Outlook加载项Manifest Schema验证错误(无效的FocusedInboxTab类型)

错误原因

你使用的FocusedInboxTab并非Outlook加载项Manifest Schema中定义的有效ExtensionPoint类型,这直接导致了Manifest文件不符合schema规范的验证错误。

修正方案

要在收件箱的邮件列表界面显示加载项,需使用**MessageListCommandSurface**这个合法的ExtensionPoint类型,并调整配置结构以符合schema要求。以下是修正后的配置代码:

<ExtensionPoint xsi:type="MessageListCommandSurface">
  <CustomTab id="MyCustomTab">
    <Label resid="TabLabel" />
    <Icon>
      <bt:Image size="16" resid="Icon.16x16" />
      <bt:Image size="32" resid="Icon.32x32" />
      <bt:Image size="80" resid="Icon.80x80" />
    </Icon>
    <Group id="MyCustomGroup">
      <Label resid="GroupLabel" />
      <Control xsi:type="Button" id="MyCustomButton">
        <Label resid="ButtonLabel" />
        <Icon>
          <bt:Image size="16" resid="Icon.16x16" />
          <bt:Image size="32" resid="Icon.32x32" />
          <bt:Image size="80" resid="Icon.80x80" />
        </Icon>
        <Action xsi:type="ExecuteFunction">
          <FunctionName>showMyAddin</FunctionName>
        </Action>
      </Control>
    </Group>
    <OfficeTab id="TabDefault" />
  </CustomTab>
</ExtensionPoint>

关键说明

  • MessageListCommandSurface是专门用于在邮件列表(如收件箱)界面添加自定义选项卡/控件的ExtensionPoint,支持Outlook 2016及以上版本、Outlook网页版。
  • 配置中需包含CustomTab、Group和Control层级结构,每个元素的resid需对应Manifest中Resources部分定义的字符串资源。
  • 若需要控制加载项的显示规则,可在ExtensionPoint下添加Rule元素,例如限制仅在邮件类型为Message时显示:
    <Rule xsi:type="ItemIs" ItemType="Message" />
    

内容的提问来源于stack exchange,提问作者Rinku Gangishetty

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.30 11:38:47