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

Outlook客户端中Web加载项无法显示的问题求助

Outlook客户端中Web加载项无法显示的问题求助

大家好,我用Visual Studio 2022的默认模板创建了一个Outlook Web加载项,它在Outlook网页版(OWA)里运行正常,但在安装了Office 365的Outlook桌面客户端里却不显示。我去“已安装的Web加载项”里查看,发现这个加载项确实是处于激活状态的。

会不会是我的manifest文件有问题?希望大家能给我一些排查的思路或者解决建议,谢谢!

<?xml version="1.0" encoding="UTF-8"?>
<!--Created:ce44715c-8c4e-446b-879c-ea9ebe0f09c8-->
<!-- Weitere Informationen zum XML-Manifest für Office-Add-Ins finden Sie unter https://go.microsoft.com/fwlink/?linkid=2252563. -->
<OfficeApp 
          xmlns="http://schemas.microsoft.com/office/appforoffice/1.1" 
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
          xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0" 
          xmlns:mailappor="http://schemas.microsoft.com/office/mailappversionoverrides/1.0" 
          xsi:type="MailApp">


  <!-- WICHTIG: Die ID muss eindeutig für Ihr Add-In sein. Wenn Sie dieses Manifest erneut verwenden, stellen Sie sicher, dass Sie diese ID in eine neue GUID ändern. -->
  <Id>cf933e3b-9987-4ef0-a079-a4b3defd66d0</Id>

  <Version>1.0.0.0</Version>
  <ProviderName>Spam Reporting</ProviderName>
  <DefaultLocale>de-CH</DefaultLocale>
  <!-- Der Anzeigename Ihres Add-Ins. Er wird im Store und an verschiedenen Stellen in der Office-Benutzeroberfläche verwendet, z. B. im Dialogfeld "Add-Ins". -->
  <DisplayName DefaultValue="Email Melden" />
  <Description DefaultValue="Email Melden"/>

  <IconUrl DefaultValue="https://reporting.test.ch/Images/icon32.png"/>
  <HighResolutionIconUrl DefaultValue="https://reporting.test.ch/Images/icon80.png"/>

  <SupportUrl DefaultValue="http://www.exchange.test.ch" />
  <!-- Domänen, die beim Navigieren zulässig sind. Wenn Sie z. B. "ShowTaskpane" verwenden und dann ein href-Link auftritt, ist die Navigation nur zulässig, wenn sich die Domäne in dieser Liste befindet. -->
  <AppDomains>
    <AppDomain>exchange.test.ch</AppDomain>
    <AppDomain>owa.test.ch</AppDomain>
  </AppDomains>
  
  <Hosts>
    <Host Name="Mailbox" />
  </Hosts>
  <Requirements>
    <Sets>
      <Set Name="Mailbox" MinVersion="1.1" />
    </Sets>
  </Requirements>
    
  <FormSettings>
    <Form xsi:type="ItemRead">
      <DesktopSettings>
        <SourceLocation DefaultValue="https://reporting.test.ch/MessageRead.html"/>
        <RequestedHeight>250</RequestedHeight>
      </DesktopSettings>
    </Form>
  </FormSettings>

  <Permissions>ReadWriteMailbox</Permissions>
  
  <Rule xsi:type="RuleCollection" Mode="Or">
    <Rule xsi:type="ItemIs" ItemType="Message" FormType="Read" />
  </Rule>

  <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0">
    <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1">
      <Requirements>
        <bt:Sets DefaultMinVersion="1.1">
          <bt:Set Name="Mailbox" />
        </bt:Sets>
      </Requirements>
      <Hosts>
        <Host xsi:type="MailHost">

          <DesktopFormFactor>
            <FunctionFile resid="functionFile" />

            <ExtensionPoint xsi:type="MessageReadCommandSurface">
              <OfficeTab id="TabDefault">
                <Group id="msgReadGroup">
                  <Label resid="groupLabel" />
                  <Control xsi:type="Button" id="msgReadOpenPaneButton">
                    <Label resid="taskPaneButtonLabel" />
                    <Supertip>
                      <Title resid="taskPaneButtonLabel" />
                      <Description resid="taskPaneButtonDescription" />
                    </Supertip>
                    <Icon>
                      <bt:Image size="16" resid="icon16" />
                      <bt:Image size="32" resid="icon32" />
                      <bt:Image size="80" resid="icon80" />
                    </Icon>
                    <Action xsi:type="ShowTaskpane">
                      <SourceLocation resid="messageReadTaskPaneUrl" />
                      
                    </Action>
                  </Control>
                  
                </Group>
              </OfficeTab>
            </ExtensionPoint>
          </DesktopFormFactor>
        </Host>
      </Hosts>

      <Resources>
        <bt:Images>
          <bt:Image id="icon16" DefaultValue="https://reporting.test.ch/Images/icon16.png"/>
          <bt:Image id="icon32" DefaultValue="https://reporting.talus.ch/Images/icon32.png"/>
          <bt:Image id="icon80" DefaultValue="https://reporting.test.ch/Images/icon80.png"/>
        </bt:Images>
        <bt:Urls>
          <bt:Url id="messageReadTaskPaneUrl" DefaultValue="https://reporting.test.ch/MessageRead.html"/>
        </bt:Urls>
        <bt:ShortStrings>
          <bt:String id="groupLabel" DefaultValue="My Add-in Group"/>        
          <bt:String id="taskPaneButtonLabel" DefaultValue="E-Mail melden"/>
        </bt:ShortStrings>
        <bt:LongStrings>
          <bt:String id="taskPaneButtonDescription" DefaultValue="Melden"/>
         
        </bt:LongStrings>
      </Resources>
    </VersionOverrides>
  </VersionOverrides>
</OfficeApp>

备注:内容来源于stack exchange,提问作者Stefan Röthlisberger

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.04.13 19:19:33