【问题标题】:Icon does not appear for Outlook Web add in for Outlook 2016 on WindowsWindows 上 Outlook 2016 的 Outlook Web 插件不显示图标
【发布时间】:2018-03-25 15:21:01
【问题描述】:

我正在为 Outlook 开发一个 Web 插件。我已经为加载项指定了 IconUrl。加载项出现在 Outlook for Windows 中。但是它会加载默认图标而不是我的个性化图标。

这是我的 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"/>

【问题讨论】:

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


    【解决方案1】:

    您应该使用在清单的 VersionOverrides 元素中定义的插件命令。见here。具体来说,Resources 元素控制着这个图标。

    【讨论】:

    • 感谢您的回复。我确实有资源元素如下 - localhost:44373/Icon16.png"> localhost:44373/Icon64.png"> localhost:44373/Icon80.png">
    猜你喜欢
    • 2015-02-18
    • 2016-11-30
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多