locked
Add In icon not showing in Outlook 2016/2013 RRS feed

  • Question

  • In Outlook 2016/2013 the app icon doesn't load. Other places successfully show the icon (Outlook 2016 Mac, Outlook.com).

    I have included the following lines in the manifest

      <IconUrl DefaultValue="https://outlook.mysite.com/img/app-64.png" />
      <HighResolutionIconUrl DefaultValue="https://outlook.mysite.com/img/app.png"/>

    Does anyone know why an icon wouldn't show up?

    Tuesday, February 13, 2018 7:43 PM

All replies

  • <?xml version="1.0" encoding="UTF-8"?>
    <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">

      <Id>3e974084-6da1-4e75-b6f2-8cd2398e5761</Id>

      <!--Version. Updates from the store only get triggered if there is a version change. -->
      <Version>1.1.1.0</Version>
      <ProviderName>My Site</ProviderName>
      <DefaultLocale>en-US</DefaultLocale>

      <DisplayName DefaultValue="My Site" />
      <Description DefaultValue="Connect with people you need through people you trust."/>

      <IconUrl DefaultValue="https://outlook.mysite.com/img/app-64.png" />
      <HighResolutionIconUrl DefaultValue="https://outlook.mysite.com/img/app.png"/>

      <!--If you plan to submit this add-in to the Office Store, uncomment the SupportUrl element below-->
      <SupportUrl DefaultValue="https://help.mysite.com/" />

      <!-- Domains that will be allowed when navigating. For example, if you use ShowTaskpane and then have an <g class="gr_ gr_45 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling" data-gr-id="45" id="45">href</g> link, navigation will only be allowed if the domain is on this list. -->
      <AppDomains>
        <AppDomain>https://appsforoffice.microsoft.com</AppDomain>
        <AppDomain>https://dev.myothersite.co</AppDomain>
        <AppDomain>https://outlook.domain.com</AppDomain>
        <AppDomain>https://outlook.mysite.com</AppDomain>
      </AppDomains>
      <!--End Basic Settings. -->

      <Hosts>
        <Host Name="Mailbox" />
      </Hosts>
      <Requirements>
        <Sets DefaultMinVersion="1.3">
          <Set Name="MailBox"/>
        </Sets>
      </Requirements>
      <FormSettings>
        <Form xsi:type="ItemRead">
          <DesktopSettings>
            <SourceLocation DefaultValue="https://outlook.mysite.com/outlook.html"/>
            <RequestedHeight>250</RequestedHeight>
          </DesktopSettings>
        </Form>
      </FormSettings>

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

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

            <DesktopFormFactor>
              <ExtensionPoint xsi:type="MessageReadCommandSurface">
                <OfficeTab id="TabDefault">
                  <Group id="msgReadGroup">
                    <Label resid="groupLabel" />
                    <Control xsi:type="Button" id="msgReadOpenPaneButton">
                      <Label resid="paneReadButtonLabel" />
                      <Supertip>
                        <Title resid="paneReadSuperTipTitle" />
                        <Description resid="paneReadSuperTipDescription" />
                      </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://outlook.mysite.com/img/app-16.png"/>
            <bt:Image id="icon32" DefaultValue="https://outlook.mysite.com/img/app-32.png"/>
            <bt:Image id="icon80" DefaultValue="https://outlook.mysite.com/img/app-80.png"/>
          </bt:Images>
          <bt:Urls>
            <bt:Url id="messageReadTaskPaneUrl" DefaultValue="https://outlook.mysite.com/outlook.html"/>
          </bt:Urls>
          <bt:ShortStrings>
            <bt:String id="groupLabel" DefaultValue="My Site"/>
            <bt:String id="paneReadButtonLabel" DefaultValue="My Site"/>
            <bt:String id="paneReadSuperTipTitle" DefaultValue="Open My Site"/>
          </bt:ShortStrings>
          <bt:LongStrings>
            <bt:String id="paneReadSuperTipDescription" DefaultValue="Opens a pane displaying all available properties. This is an example of a button that opens a task pane."/>
          </bt:LongStrings>
        </Resources>
      </VersionOverrides>
    </OfficeApp>

    • Edited by Jimbool Tuesday, February 13, 2018 8:26 PM privacy
    Tuesday, February 13, 2018 8:26 PM
  • I think this has to do with the headers returned from the server on these icons. Any idea what those headers should look like?
    Tuesday, February 13, 2018 8:57 PM