1

UPDATE # 1:OfficeJS Outlook-Add-in installiert nicht

TL; DR: Ich ansprechen möchten:

  • Outlook 2016 oder später
  • Outlook auf dem Web
  • Outlook 2016 für Mac
  • Outlook für iOS
  • Outlook für Android

Ich benötige Mailbox 1.5, um calling the Outlook REST APIs zu unterstützen und pinnable taskpanes zu unterstützen.

Da pinnable Aufgabenbereiche nur in Outlook 2016 für Windows unterstützt werden, und weil Mailbox 1.5 is currently only supported in Outlook on the Web, muss ich Postfach 1.5 in den <VersionOverrides> Abschnitten des Manifests festlegen.

Basierend auf dem Validierungsbericht:

Your add-in manifest includes Tablet Settings and Phone Settings, however 
Mailbox 1.4 is used in the core of your manifest. This mailbox is not 
supported in the Outlook Web App. 

Das klingt wie es mit Konflikten, was Office Add-in host and platform availability sagt. Also, ich habe Mailbox 1.3 in der Basisebene des Manifests festgelegt.


Hier ist mein Manifest:

<?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" xsi:type="MailApp"> 
    <Id>3042ed3a-6ca5-4b37-b5e3-a591f5605332</Id> 
    <Version>1.0.1.0</Version> 
    <ProviderName>Leap Legal Software</ProviderName> 
    <DefaultLocale>en-US</DefaultLocale> 
    <DisplayName DefaultValue="LEAP Mail Manager" /> 
    <Description DefaultValue="Save your mail to LEAP."/> 
    <IconUrl DefaultValue="https://outlookapp.leap365.com/images/icon-64.png" /> 
    <HighResolutionIconUrl DefaultValue="https://outlookapp.leap365.com/images/icon-128.png" /> 
    <SupportUrl DefaultValue="https://leap.force.com/us/s/" /> 
    <AppDomains> 
    <!--LEAP Add-in Domains --> 
    <AppDomain>https://outlookapp-dev.leap365.com/</AppDomain> 
    <AppDomain>https://outlookapp-test.leap365.com/</AppDomain> 
    <AppDomain>https://outlookapp.leap365.com/</AppDomain> 
    <!--TitleX Add-in Domains --> 
    <AppDomain>https://outlookapp.dev.titlex.com.au/</AppDomain> 
    <AppDomain>https://outlookapp.test.titlex.com.au/</AppDomain> 
    <AppDomain>https://outlookapp.titlex.com.au/</AppDomain> 
    <!-- LEAP Auth --> 
    <AppDomain>https://auth-dev.leap.services/</AppDomain> 
    <AppDomain>https://auth-test.leap.services/</AppDomain> 
    <AppDomain>https://auth.leap.services/</AppDomain> 
    <!-- TitleX Auth --> 
    <AppDomain>https://login.dev.titlex.com.au/</AppDomain> 
    <AppDomain>https://login.test.titlex.com.au/</AppDomain> 
    <AppDomain>https://login.titlex.com.au/</AppDomain> 
    <AppDomain>https://login.dev.titlex.co.uk/</AppDomain> 
    <AppDomain>https://login.test.titlex.co.uk/</AppDomain> 
    <AppDomain>https://login.titlex.co.uk/</AppDomain> 
    <AppDomain>https://login.dev.titlex.com/</AppDomain> 
    <AppDomain>https://login.test.titlex.com/</AppDomain> 
    <AppDomain>https://login.titlex.com/</AppDomain> 
    </AppDomains> 
    <Hosts> 
    <Host Name="Mailbox" /> 
    </Hosts> 
    <Requirements> 
    <Sets DefaultMinVersion="1.3"> 
     <Set Name="Mailbox" MinVersion="1.3" /> 
    </Sets> 
    </Requirements> 
    <FormSettings> 
    <Form xsi:type="ItemRead"> 
     <DesktopSettings> 
     <SourceLocation DefaultValue="https://outlookapp.leap365.com/index.html"/> 
     <RequestedHeight>280</RequestedHeight> 
     </DesktopSettings> 
     <TabletSettings> 
     <SourceLocation DefaultValue="https://outlookapp.leap365.com/index.html" /> 
     <RequestedHeight>280</RequestedHeight> 
     </TabletSettings> 
     <PhoneSettings> 
     <SourceLocation DefaultValue="https://outlookapp.leap365.com/index.html" /> 
     </PhoneSettings> 
    </Form> 
    </FormSettings> 
    <Permissions>ReadWriteMailbox</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.5"> 
     <bt:Set Name="Mailbox" MinVersion="1.5" /> 
     </bt:Sets> 
    </Requirements> 
    <Hosts> 
     <Host xsi:type="MailHost"> 
     <DesktopFormFactor> 
      <FunctionFile resid="Leap.Functions.Url" /> 
      <!-- Message Read --> 
      <ExtensionPoint xsi:type="MessageReadCommandSurface"> 
      <CustomTab id="TabLeap"> 
       <Group id="Leap.Group1"> 
       <Label resid="Leap.Group1Label" /> 
       <Control xsi:type="Button" id="Leap.DefaultCommand"> 
        <Label resid="Leap.DefaultCommand.Label" /> 
        <Supertip> 
        <Title resid="Leap.DefaultCommand.Label" /> 
        <Description resid="Leap.DefaultCommand.Tooltip" /> 
        </Supertip> 
        <Icon> 
        <bt:Image size="16" resid="Leap.Icon.16" /> 
        <bt:Image size="32" resid="Leap.Icon.32" /> 
        <bt:Image size="80" resid="Leap.Icon.80" /> 
        <bt:Image size="20" resid="Leap.Icon.20" /> 
        <bt:Image size="24" resid="Leap.Icon.24" /> 
        <bt:Image size="40" resid="Leap.Icon.40" /> 
        <bt:Image size="48" resid="Leap.Icon.48" /> 
        <bt:Image size="64" resid="Leap.Icon.64" /> 
        </Icon> 
        <Action xsi:type="ShowTaskpane"> 
        <SourceLocation resid="Leap.Taskpane.Url" /> 
        </Action> 
       </Control> 
       </Group> 
       <Label resid="Leap.TabLabel"/> 
      </CustomTab> 
      </ExtensionPoint> 
      <!-- Go to http://aka.ms/ExtensionPointsCommands to learn how to add more Extension Points: MessageRead, AppointmentOrganizer, AppointmentAttendee --> 
     </DesktopFormFactor> 
     </Host> 
    </Hosts> 
    <Resources> 
     <bt:Images> 
     <bt:Image id="Leap.Icon.16" DefaultValue="https://outlookapp.leap365.com/images/icon-16.png"/> 
     <bt:Image id="Leap.Icon.32" DefaultValue="https://outlookapp.leap365.com/images/icon-32.png"/> 
     <bt:Image id="Leap.Icon.80" DefaultValue="https://outlookapp.leap365.com/images/icon-80.png"/> 
     <bt:Image id="Leap.Icon.20" DefaultValue="https://outlookapp.leap365.com/images/icon-20.png" /> 
     <bt:Image id="Leap.Icon.24" DefaultValue="https://outlookapp.leap365.com/images/icon-24.png" /> 
     <bt:Image id="Leap.Icon.25" DefaultValue="https://outlookapp.leap365.com/images/icon-25.png" /> 
     <bt:Image id="Leap.Icon.40" DefaultValue="https://outlookapp.leap365.com/images/icon-40.png" /> 
     <bt:Image id="Leap.Icon.48" DefaultValue="https://outlookapp.leap365.com/images/icon-48.png" /> 
     <bt:Image id="Leap.Icon.64" DefaultValue="https://outlookapp.leap365.com/images/icon-64.png" /> 
     </bt:Images> 
     <bt:Urls> 
     <bt:Url id="Leap.Taskpane.Url" DefaultValue="https://outlookapp.leap365.com/index.html" /> 
     <bt:Url id="Leap.Functions.Url" DefaultValue="https://outlookapp.leap365.com/functions.html" /> 
     </bt:Urls> 
     <bt:ShortStrings> 
     <bt:String id="Leap.TabLabel" DefaultValue="LEAP Mail Manager" /> 
     <bt:String id="Leap.Group1Label" DefaultValue="LEAP" /> 
     <bt:String id="Leap.DefaultCommand.Label" DefaultValue="LEAP Mail Manager" /> 
     <bt:String id="Leap.DefaultCommand.Title" DefaultValue="LEAP Mail Manager" /> 
     </bt:ShortStrings> 
     <bt:LongStrings> 
     <bt:String id="Leap.DefaultCommand.Tooltip" DefaultValue="Click to show the add-in." /> 
     <bt:String id="Leap.Description" DefaultValue="Save your mail to LEAP." /> 
     </bt:LongStrings> 
    </Resources> 
    <!-- NOTE: TO SUPPORT A PINNABLE TASKPANE AND MOBILEFORMFACTOR --> 
    <VersionOverrides 
     xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1"> 
     <Requirements> 
     <bt:Sets DefaultMinVersion="1.5"> 
      <bt:Set Name="Mailbox" MinVersion="1.5" /> 
     </bt:Sets> 
     </Requirements> 
     <Hosts> 
     <Host xsi:type="MailHost"> 
      <DesktopFormFactor> 
      <FunctionFile resid="Leap.Functions.Url" /> 
      <!-- Message Read --> 
      <ExtensionPoint xsi:type="MessageReadCommandSurface"> 
       <CustomTab id="TabLeap"> 
       <Group id="Leap.Group1"> 
        <Label resid="Leap.Group1Label" /> 
        <Control xsi:type="Button" id="Leap.DefaultCommand"> 
        <Label resid="Leap.DefaultCommand.Label" /> 
        <Supertip> 
         <Title resid="Leap.DefaultCommand.Label" /> 
         <Description resid="Leap.DefaultCommand.Tooltip" /> 
        </Supertip> 
        <Icon> 
         <bt:Image size="16" resid="Leap.Icon.16" /> 
         <bt:Image size="32" resid="Leap.Icon.32" /> 
         <bt:Image size="80" resid="Leap.Icon.80" /> 
         <bt:Image size="20" resid="Leap.Icon.20" /> 
         <bt:Image size="24" resid="Leap.Icon.24" /> 
         <bt:Image size="40" resid="Leap.Icon.40" /> 
         <bt:Image size="48" resid="Leap.Icon.48" /> 
         <bt:Image size="64" resid="Leap.Icon.64" /> 
        </Icon> 
        <Action xsi:type="ShowTaskpane"> 
         <SourceLocation resid="Leap.Taskpane.Url" /> 
         <SupportsPinning>true</SupportsPinning> 
        </Action> 
        </Control> 
        <!-- Go to http://aka.ms/ButtonCommands to learn how to add more Controls: ExecuteFunction and Menu --> 
       </Group> 
       <Label resid="Leap.TabLabel"/> 
       </CustomTab> 
      </ExtensionPoint> 
      <!-- Go to http://aka.ms/ExtensionPointsCommands to learn how to add more Extension Points: MessageRead, AppointmentOrganizer, AppointmentAttendee --> 
      </DesktopFormFactor> 
      <!-- See https://docs.microsoft.com/en-us/outlook/add-ins/add-mobile-support --> 
      <MobileFormFactor> 
      <FunctionFile resid="Leap.Functions.Url" /> 
      <ExtensionPoint xsi:type="MobileMessageReadCommandSurface"> 
       <Group id="Leap.Group1"> 
       <Label resid="Leap.Group1Label" /> 
       <Control xsi:type="MobileButton" id="Leap.DefaultCommand"> 
        <Label resid="Leap.DefaultCommand.Label" /> 
        <Icon xsi:type="bt:MobileIconList"> 
        <bt:Image size="25" scale="1" resid="Leap.Icon.25" /> 
        <bt:Image size="25" scale="2" resid="Leap.Icon.25" /> 
        <bt:Image size="25" scale="3" resid="Leap.Icon.25" /> 
        <bt:Image size="32" scale="1" resid="Leap.Icon.32" /> 
        <bt:Image size="32" scale="2" resid="Leap.Icon.32" /> 
        <bt:Image size="32" scale="3" resid="Leap.Icon.32" /> 
        <bt:Image size="48" scale="1" resid="Leap.Icon.48" /> 
        <bt:Image size="48" scale="2" resid="Leap.Icon.48" /> 
        <bt:Image size="48" scale="3" resid="Leap.Icon.48" /> 
        </Icon> 
        <Action xsi:type="ShowTaskpane"> 
        <SourceLocation resid="Leap.Taskpane.Url" /> 
        </Action> 
       </Control> 
       </Group> 
      </ExtensionPoint> 
      </MobileFormFactor> 
     </Host> 
     </Hosts> 
     <Resources> 
     <bt:Images> 
      <bt:Image id="Leap.Icon.16" DefaultValue="https://outlookapp.leap365.com/images/icon-16.png"/> 
      <bt:Image id="Leap.Icon.32" DefaultValue="https://outlookapp.leap365.com/images/icon-32.png"/> 
      <bt:Image id="Leap.Icon.80" DefaultValue="https://outlookapp.leap365.com/images/icon-80.png"/> 
      <bt:Image id="Leap.Icon.20" DefaultValue="https://outlookapp.leap365.com/images/icon-20.png" /> 
      <bt:Image id="Leap.Icon.24" DefaultValue="https://outlookapp.leap365.com/images/icon-24.png" /> 
      <bt:Image id="Leap.Icon.25" DefaultValue="https://outlookapp.leap365.com/images/icon-25.png" /> 
      <bt:Image id="Leap.Icon.40" DefaultValue="https://outlookapp.leap365.com/images/icon-40.png" /> 
      <bt:Image id="Leap.Icon.48" DefaultValue="https://outlookapp.leap365.com/images/icon-48.png" /> 
      <bt:Image id="Leap.Icon.64" DefaultValue="https://outlookapp.leap365.com/images/icon-64.png" /> 
     </bt:Images> 
     <bt:Urls> 
      <bt:Url id="Leap.Taskpane.Url" DefaultValue="https://outlookapp.leap365.com/index.html" /> 
      <bt:Url id="Leap.Functions.Url" DefaultValue="https://outlookapp.leap365.com/functions.html" /> 
     </bt:Urls> 
     <bt:ShortStrings> 
      <bt:String id="Leap.TabLabel" DefaultValue="LEAP Mail Manager" /> 
      <bt:String id="Leap.Group1Label" DefaultValue="LEAP" /> 
      <bt:String id="Leap.DefaultCommand.Label" DefaultValue="LEAP Mail Manager" /> 
      <bt:String id="Leap.DefaultCommand.Title" DefaultValue="LEAP Mail Manager" /> 
     </bt:ShortStrings> 
     <bt:LongStrings> 
      <bt:String id="Leap.DefaultCommand.Tooltip" DefaultValue="Click to show the add-in." /> 
      <bt:String id="Leap.Description" DefaultValue="Save your mail to LEAP." /> 
     </bt:LongStrings> 
     </Resources> 
    </VersionOverrides> 
    </VersionOverrides> 
</OfficeApp> 

Hier ist das validate-office-addin Ergebnis für das oben Add-In-Manifest:

Calling validation service. This might take a moment... 
------------------------------------- 
Validation: Passed 
Based on the requirements specified in your manifest, your add-in can run on the following platforms; your add-in will be tested on these platforms when you submit it to the Office Store: 
    - Outlook 2013 Service Pack 1 or later 
    - Outlook 2016 or later 
    - Outlook on the Web 
    - Outlook 2016 for Mac 
    - Outlook for iOS 
    - Outlook for Android 
Important: This analysis is based on the requirements specified in your manifest and does not account for any runtime JavaScript calls within your add-in. For information about which API sets and features are supported on each platform, see Office Add-in host and platfo 
rm availability. (https://dev.office.com/add-in-availability). 

*This does not include mobile apps. You can opt-in to support mobile apps when you submit your add-in. 
------------------------------------- 

der Validierungsbericht von Microsoft jedoch sagt:

Your add-in is not working in Outlook 2016, Outlook 2013, Outlook for Mac, 
the Outlook app on iOS or in the Outlook app on Android. Your add-in is not 
available to be inserted in the above platforms. If you do not support 2013 
SP1 because you are using an API only available in 2016/Online, you must put 
these apis in the requirements tag in your manifest. If you are not using an 
API only available in 2016/Online, then you must support 2013 SP1. 

Ich habe side-loaded the add-in from OWA.

Ich kann sehen, das Add-In auf:

  • Outlook 2016 oder höher (Windows)
  • Outlook auf dem Web (OWA)

ich noch, wenn das Add testen -in erscheint auf Outlook 2016 für Mac.

Für das Leben von mir, ich kann nicht scheinen, das Add-In zu erhalten, zeigen sich auf:

  • Outlook 2013 Service Pack 1 oder höher
  • Outlook für iOS
  • Outlook für Android

Ich verstehe nicht warum. Fehle ich etwas im Manifest? Habe ich vielleicht das Manifest falsch konfiguriert? Bitte helfen Sie.

+0

Sie sollten 1.4 in Ihrem Kernmanifest als Anforderungssatz verwenden können. Office-Addin-Validator ist möglicherweise veraltet und Sie können ein Problem auf github dafür einreichen. –

Antwort

1

Unterstützung für Outlook Mobile wird hinzugefügt, indem das Element MobileFormFactor in VersionOverridesV1_1 definiert wird.Siehe here for more information on MobileFormFactor

Mailbox 1.5 ist nicht in Outlook 2013 unterstützt (here Informationen über die Verfügbarkeit sehen) Für das Add-In in Outlook erscheinen 2013, müssen Sie Mailbox 1.4 oder niedriger

+0

Bitte beachten Sie mein Manifest: Ich gebe '' in 'VersionOverrides v1.1' an. Wenn "Postfach 1.5" in Outlook 2013 nicht unterstützt wird, warum wird es vom Validierer als unterstützte Plattform aufgeführt? Ich werde meine Frage bearbeiten, um mehr Kontext bereitzustellen. –

+0

Ich habe das Outlook-AddIn-Tag hinzugefügt, um das Outlook-Add-Ins-Team zu erreichen, das hier hilft. Ich glaube, das liegt daran, dass die Anforderungen im Kern Ihres Manifests Postfach 1.3 haben; Aber das Outlook-Team ist am besten in der Lage, weiter zu helfen. –

0

Hinzufügen einige Details zum Hinzufügen verwenden und Antworten des Teams.

Das Outlook 2013 Problem ergibt sich aus zwei widersprüchlichen Regeln, die Outlook folgt:

  • Sie haben Ihre Mindest Mailbox Version von 1.3 im Kern Manifest erklärt.
  • Sie haben auch erklärt, einen VersionOverridesV1_0 Abschnitt mit einer Mindestversion von 1.5

Das Validierungstool für Outlook 2013 Service Pack 1 oder höher, weil sie (als Store-Team genannt), diese Version von Outlook erklärt Unterstützung unterstützt 1.3.

Outlook 2013 Service Pack 1 oder höher unterstützt auch Add-in Commands über VersionOverridesV1_0. Sobald in Outlook die Add-In-Befehle deklariert sind, werden die Add-In-Befehle verwendet. Da diese jedoch definiert sind als 1.5 Outlook 2013 ist nicht in der Lage, sie zu rendern.

Damit Ihr Add-in-Befehle in Outlook 2013 zu zeigen, müssen Sie sicher 1.4 oder niedriger ist die Mindestversion innerhalb VersionOverridesV1_0 Sie benötigen machen (beachten Sie, dass VersionOverridesV1_1 bei 1.5 bleiben sollte).