Outlook Web上的Outlook 2016中没有显示图标

时间:2018-03-25 15:21:01

标签: web outlook add-in apps-for-office

我正在为Outlook开发Web Add In。我已为添加项指定了IconUrl。添加项显示在Outlook for Windows中。但是,它会加载默认图标而不是我的个性化图标。

enter image description here

这是我的XML清单

<?xml version="1.0" encoding="UTF-8"?>
<!--Created:ce44715c-8c4e-446b-879c-ea9ebe0f09c8-->
<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">

  <!-- Begin Basic Settings: Add-in metadata, used for all versions of Office unless override provided. -->

  <!-- IMPORTANT! Id must be unique for your add-in, if you reuse this manifest ensure that you change this id to a new GUID. -->
  <Id>badb297b-b8e8-41e1-9513-ff821c15189c</Id>

  <!--Version. Updates from the store only get triggered if there is a version change. -->
  <Version>1.0.0.0</Version>
  <ProviderName>my company- Meetings</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <!-- The display name of your add-in. Used on the store and various places of the Office UI such as the add-ins dialog. -->
  <DisplayName DefaultValue="My Company" />
  <Description DefaultValue="Outlook addin"/>  
  <IconUrl DefaultValue="https://localhost:44373/Images/Icon80.png"/>

1 个答案:

答案 0 :(得分:0)

您应该使用在清单的VersionOverrides元素中定义的加载项命令。见here。具体来说,Resources元素控制此图标。