locked
"Define add-in commands in your Outlook add-in manifest" Toolbar/Ribbon Button working in Outlook 2016 but NOT in Outlook 2013. RRS feed

  • Question

  • Hi,

    I have created an Outlook App/Add-in with "VersionOverrides" and defined a toolbar icon as described https://msdn.microsoft.com/en-us/library/office/mt267547.aspx. I have deployed it globally for the whole organization in my Office 365 Exchange Add-in section like this.

    Image

    It is working 100% perfect in Outlook 2016 and showing the toolbar item and on the email and it looks like this.

    Image

    But it is NOT showing the Toolbar Icon in Outlook 2013. It is only showing app on the email. I am using following Outlook 2013 version

    Image

    I have defined the whole app via this app manifest file.

    <?xml version="1.0" encoding="UTF-8"?>
    < !--Created:cb85b80c-f585-40ff-8bfc-12ff4d0e34a9-->
    < 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>5ea20b1d-9762-4fac-a0de-2bdeb12ca56f</Id>
      <Version>1.0.0.0</Version>
      <ProviderName>Instant IT Solutions</ProviderName>
      <DefaultLocale>en-US</DefaultLocale>
      <DisplayName DefaultValue="XO-Care Email Manager" />
      <Description DefaultValue="Journalizes emails from Outlook to SharePoint SPOC Sites"/>
      <IconUrl DefaultValue="https://xocarespoc.azurewebsites.net/EmailManager/Images/AppIcon.png" />
      <HighResolutionIconUrl DefaultValue="https://xocarespoc.azurewebsites.net/EmailManager/Images/AppIcon128x128.png" />
      <SupportUrl DefaultValue="http://www.instantitsolutions.net" />
      <AppDomains>
        <AppDomain>https://xocare.sharepoint.com</AppDomain>
        <AppDomain>http://www.xo-care.com</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://xocarespoc.azurewebsites.net/EmailManager/AppRead/Home/Home.html"/>
            <RequestedHeight>250</RequestedHeight>
          </DesktopSettings>
          <TabletSettings>
            <SourceLocation DefaultValue="https://xocarespoc.azurewebsites.net/EmailManager/AppRead/Home/Home.html" />
            <RequestedHeight>250</RequestedHeight>
          </TabletSettings>
          <PhoneSettings>
            <SourceLocation DefaultValue="https://xocarespoc.azurewebsites.net/EmailManager/AppRead/Home/Home.html" />
          </PhoneSettings>
        </Form>
        <Form xsi:type="ItemEdit">
          <DesktopSettings>
            <SourceLocation DefaultValue="https://xocarespoc.azurewebsites.net/EmailManager/AppCompose/Home/Home.html"/>
          </DesktopSettings>
          <TabletSettings>
            <SourceLocation DefaultValue="https://xocarespoc.azurewebsites.net/EmailManager/AppCompose/Home/Home.html" />
          </TabletSettings>
          <PhoneSettings>
            <SourceLocation DefaultValue="https://xocarespoc.azurewebsites.net/EmailManager/AppCompose/Home/Home.html" />
          </PhoneSettings>
        </Form>
      </FormSettings>
      <Permissions>ReadWriteMailbox</Permissions>
      <Rule xsi:type="RuleCollection" Mode="Or">
        <Rule xsi:type="ItemIs" ItemType="Message" FormType="Edit" />
        <Rule xsi:type="ItemIs" ItemType="Message" FormType="Read" />
        <Rule xsi:type="ItemHasAttachment" />
      </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>
         <FunctionFile resid="functionFile" />
          Custom pane, only applies to read form
         <ExtensionPoint xsi:type="CustomPane">
          <RequestedHeight>100</RequestedHeight>
          <SourceLocation resid="customPaneUrl"/>
          <Rule xsi:type="RuleCollection" Mode="Or">
           <Rule xsi:type="ItemIs" ItemType="Message"/>
           <Rule xsi:type="ItemIs" ItemType="AppointmentAttendee"/>
          </Rule>
         </ExtensionPoint>
          Message compose form
         <ExtensionPoint xsi:type="MessageComposeCommandSurface">
          <OfficeTab id="TabDefault">
           <Group id="msgComposeDemoGroup">
            <Label resid="groupLabel" />
            <Tooltip resid="groupTooltip" />
             Task pane button
            <Control xsi:type="Button" id="msgComposeOpenPaneButton">
             <Label resid="paneComposeButtonLabel" />
             <Tooltip resid="paneComposeButtonTooltip" />
             <Supertip>
              <Title resid="paneComposeSuperTipTitle" />
              <Description resid="paneComposeSuperTipDescription" />
             </Supertip>
             <Icon>
              <bt:Image size="16" resid="green-icon-16" />
              <bt:Image size="32" resid="green-icon-32" />
              <bt:Image size="80" resid="green-icon-80" />
             </Icon>
             <Action xsi:type="ShowTaskpane">
              <SourceLocation resid="composeTaskPaneUrl" />
             </Action>
            </Control>
           </Group>
          </OfficeTab>
         </ExtensionPoint>
          Message read form
         <ExtensionPoint xsi:type="MessageReadCommandSurface">
          <OfficeTab id="TabDefault">
           <Group id="msgEmailManagerGroup">
            <Label resid="groupLabel" />
            <Tooltip resid="groupTooltip" />
             Task pane button
            <Control xsi:type="Button" id="msgReadOpenPaneButton">
             <Label resid="paneReadButtonLabel" />
             <Tooltip resid="paneReadButtonTooltip" />
             <Supertip>
              <Title resid="paneReadSuperTipTitle" />
              <Description resid="paneReadSuperTipDescription" />
             </Supertip>
             <Icon>
              <bt:Image size="16" resid="green-icon-16" />
              <bt:Image size="32" resid="green-icon-32" />
              <bt:Image size="80" resid="green-icon-80" />
             </Icon>
             <Action xsi:type="ShowTaskpane">
              <SourceLocation resid="readTaskPaneUrl" />
             </Action>
            </Control>
           </Group>
          </OfficeTab>
         </ExtensionPoint>
        </DesktopFormFactor>
       </Host>
      </Hosts>
      <Resources>
       <bt:Images>
         Blue icon
        <bt:Image id="blue-icon-16" DefaultValue="https://xocarespoc.azurewebsites.net/EmailManager/Images/AppIcon16x16.png"/>
        <bt:Image id="blue-icon-32" DefaultValue="https://xocarespoc.azurewebsites.net/EmailManager/Images/AppIcon32x32.png"/>
        <bt:Image id="blue-icon-80" DefaultValue="https://xocarespoc.azurewebsites.net/EmailManager/Images/AppIcon80x80.png"/>
         Red icon
        <bt:Image id="red-icon-16" DefaultValue="https://xocarespoc.azurewebsites.net/EmailManager/Images/AppIcon16x16.png"/>
        <bt:Image id="red-icon-32" DefaultValue="https://xocarespoc.azurewebsites.net/EmailManager/Images/AppIcon32x32.png"/>
        <bt:Image id="red-icon-80" DefaultValue="https://xocarespoc.azurewebsites.net/EmailManager/Images/AppIcon80x80.png"/>
         Green icon
        <bt:Image id="green-icon-16" DefaultValue="https://xocarespoc.azurewebsites.net/EmailManager/Images/AppIcon16x16.png"/>
        <bt:Image id="green-icon-32" DefaultValue="https://xocarespoc.azurewebsites.net/EmailManager/Images/AppIcon32x32.png"/>
        <bt:Image id="green-icon-80" DefaultValue="https://xocarespoc.azurewebsites.net/EmailManager/Images/AppIcon80x80.png"/>
       </bt:Images>
       <bt:Urls>
        <bt:Url id="functionFile" DefaultValue="https://xocarespoc.azurewebsites.net/EmailManager/AppFunction/Home/Functions.html"/>
        <bt:Url id="readTaskPaneUrl" DefaultValue="https://xocarespoc.azurewebsites.net/EmailManager/AppRead/Home/Home.html"/>
        <bt:Url id="composeTaskPaneUrl" DefaultValue="https://xocarespoc.azurewebsites.net/EmailManager/AppCompose/Home/Home.html"/>
        <bt:Url id="customPaneUrl" DefaultValue="https://xocarespoc.azurewebsites.net/EmailManager/AppRead/Home/Home.html"/>"
       </bt:Urls>
       <bt:ShortStrings>
        <bt:String id="groupLabel" DefaultValue="XO-Care AS"/>
         Compose mode
        <bt:String id="funcComposeButtonLabel" DefaultValue="Insert default message"/>
        <bt:String id="menuComposeButtonLabel" DefaultValue="Insert message"/>
        <bt:String id="paneComposeButtonLabel" DefaultValue="Email Manager"/>
        <bt:String id="funcComposeSuperTipTitle" DefaultValue="Inserts the default message"/>
        <bt:String id="menuComposeSuperTipTitle" DefaultValue="Choose a message to insert"/>
        <bt:String id="paneComposeSuperTipTitle" DefaultValue="XO-Care AS Email Manager"/>
        <bt:String id="menuItem1ComposeLabel" DefaultValue="Hello World!"/>
        <bt:String id="menuItem2ComposeLabel" DefaultValue="Add-in commands are cool!"/>
        <bt:String id="menuItem3ComposeLabel" DefaultValue="Visit dev.outlook.com"/>
         Read mode
        <bt:String id="funcReadButtonLabel" DefaultValue="Get subject"/>
        <bt:String id="menuReadButtonLabel" DefaultValue="Get property"/>
        <bt:String id="paneReadButtonLabel" DefaultValue="Email Manager"/>
        <bt:String id="funcReadSuperTipTitle" DefaultValue="Gets the subject of the message or appointment"/>
        <bt:String id="menuReadSuperTipTitle" DefaultValue="Choose a property to get"/>
        <bt:String id="paneReadSuperTipTitle" DefaultValue="XO-Care AS Email Manager"/>
        <bt:String id="menuItem1ReadLabel" DefaultValue="Get item class"/>
        <bt:String id="menuItem2ReadLabel" DefaultValue="Get date time created"/>
        <bt:String id="menuItem3ReadLabel" DefaultValue="Get item ID"/>
       </bt:ShortStrings>
       <bt:LongStrings>
        <bt:String id="groupTooltip" DefaultValue="XO-Care AS Email Manager"/>
         Compose mode
        <bt:String id="funcComposeButtonTooltip" DefaultValue="Inserts text into body of the message or appointment"/>
        <bt:String id="menuComposeButtonTooltip" DefaultValue="Inserts your choice of text into body of the message or appointment"/>
        <bt:String id="paneComposeButtonTooltip" DefaultValue="Opens a pane where you can enter text to insert in the body of the message or appointment"/>
        <bt:String id="funcComposeSuperTipDescription" DefaultValue="Inserts text into body of the message or appointment. This is an example of a function button."/>
        <bt:String id="menuComposeSuperTipDescription" DefaultValue="Inserts your choice of text into body of the message or appointment. This is an example of a drop-down menu button."/>
        <bt:String id="paneComposeSuperTipDescription" DefaultValue="Opens a pane to journalize emails and attachments to SharePoint repository."/>
        <bt:String id="menuItem1ComposeTip" DefaultValue="Inserts Hello World! into the body of the message or appointment." />
        <bt:String id="menuItem2ComposeTip" DefaultValue="Inserts Add-in commands are cool! into the body of the message or appointment." />
        <bt:String id="menuItem3ComposeTip" DefaultValue="Inserts Visit dev.outlook.com into the body of the message or appointment." />
         Read mode
        <bt:String id="funcReadButtonTooltip" DefaultValue="Gets the subject of the message or appointment and displays it in the info bar"/>
        <bt:String id="menuReadButtonTooltip" DefaultValue="Gets the selected property of the message or appointment and displays it in the info bar"/>
        <bt:String id="paneReadButtonTooltip" DefaultValue="Opens a pane to journalize emails and attachments to SharePoint repository"/>
        <bt:String id="funcReadSuperTipDescription" DefaultValue="Gets the subject of the message or appointment and displays it in the info bar. This is an example of a function button."/>
        <bt:String id="menuReadSuperTipDescription" DefaultValue="Gets the selected property of the message or appointment and displays it in the info bar. This is an example of a drop-down menu button."/>
        <bt:String id="paneReadSuperTipDescription" DefaultValue="Opens a pane to journalize emails and attachments to SharePoint repository."/>
        <bt:String id="menuItem1ReadTip" DefaultValue="Gets the item class of the message or appointment and displays it in the info bar." />
        <bt:String id="menuItem2ReadTip" DefaultValue="Gets the date and time the message or appointment was created and displays it in the info bar." />
        <bt:String id="menuItem3ReadTip" DefaultValue="Gets the item ID of the message or appointment and displays it in the info bar." />
       </bt:LongStrings>
      </Resources>

     </VersionOverrides>
    < /OfficeApp>

    My Outlook 2016 looks like this where it is working.

    Image

    Regards.

    Aftab Ahmad

    Monday, December 7, 2015 3:28 PM

Answers

  • Add-in commands are a brand new feature and only currently supported in Outlook 2016. Support for other clients is coming.
    • Marked as answer by Aftab Ahmad- Monday, December 7, 2015 6:42 PM
    Monday, December 7, 2015 5:49 PM
  • OK: Thank you for Info :)
    • Marked as answer by Aftab Ahmad- Monday, December 7, 2015 6:42 PM
    Monday, December 7, 2015 6:42 PM

All replies

  • Add-in commands are a brand new feature and only currently supported in Outlook 2016. Support for other clients is coming.
    • Marked as answer by Aftab Ahmad- Monday, December 7, 2015 6:42 PM
    Monday, December 7, 2015 5:49 PM
  • OK: Thank you for Info :)
    • Marked as answer by Aftab Ahmad- Monday, December 7, 2015 6:42 PM
    Monday, December 7, 2015 6:42 PM