首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在Outlook外接程序中固定任务窗格

在Outlook外接程序中固定任务窗格
EN

Stack Overflow用户
提问于 2017-02-10 04:05:09
回答 1查看 1.2K关注 0票数 0

I am following this help document

为了尝试并弄清楚如何固定任务窗格,我添加了Action,如此处的Manifest中所示。

代码语言:javascript
复制
<ExtensionPoint xsi:type="MessageReadCommandSurface">
  <OfficeTab id="TabDefault">
    <Group id="msgReadCmdGroup">
      <Label resid="groupLabel"/>
      <Control xsi:type="Button" id="msgReadPaneButton">
        <Label resid="msgReadPaneButtonLabel"/>
        <Supertip>
          <Title resid="msgReadPaneButtonTitle"/>
          <Description resid="msgReadPaneButtonDesc"/>
        </Supertip>
        <Icon>
          <bt:Image size="16" resid="icon-16"/>
          <bt:Image size="32" resid="icon-32"/>
          <bt:Image size="80" resid="icon-80"/>
        </Icon>
        <Action xsi:type="ShowTaskpane">
          <SourceLocation resid="readPaneUrl"/>
          <SupportsPinning>true</SupportsPinning>
        </Action>
      </Control>
    </Group>
  </OfficeTab>
</ExtensionPoint>

但是,当我将它添加到我的outlook中进行测试时,我得到了以下错误...

This app can't be installed. The manifest file doesn't conform to the schema definition. The element 'Action' in namespace 'http://schemas.microsoft.com/office/mailappversionoverrides' has invalid child element 'SupportsPinning' in namespace 'http://schemas.microsoft.com/office/mailappversionoverrides'...

我已经尝试搜索错误本身,但找不到任何可能的解决方案,为什么它不工作。

编辑:

我发现我需要将版本设置为1.1,我尝试了:

<VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1">

从那里得到了..。

This app can't be installed. The manifest file doesn't conform to the schema definition. The element 'OfficeApp' in namespace 'http://schemas.microsoft.com/office/appforoffice/1.1' has invalid child element 'VersionOverrides' in namespace 'http://schemas.microsoft.com/office/mailappversionoverrides/1.1'. List of possible elements expected: 'VersionOverrides' in namespace 'http://schemas.microsoft.com/office/mailappversionoverrides' as well as any element in namespace 'http://www.w3.org/2000/09/xmldsig#'...

EN

回答 1

Stack Overflow用户

发布于 2017-02-11 04:56:03

要使用pinnable任务窗格功能,您需要将版本覆盖设置为版本1.1,请访问VersionOverrides element查看更多信息

编辑:

您可能没有注意到这一点:“SupportsPinning元素是在VersionOverrides v1.1模式中定义的,因此需要在v1.0和v1.1中都包含一个VersionOverrides元素。”

请将您的清单文件与您可以在那里找到的演示清单进行比较:command-demo-manifest.xml

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/42145867

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档