Skip to content
This repository was archived by the owner on Jun 18, 2024. It is now read-only.
This repository was archived by the owner on Jun 18, 2024. It is now read-only.

Provide manifest sample to support Add-in commands for Outlook 2016 build that do not support VersionOverridesV1_1 #2

@bpatra

Description

@bpatra

Hi,
it seems that some version of Outlook 2016 (e.g. 16.0.6568.2036) supports add-ins commands from VersionOverridesV1_0(e.g. MessageReadCommandSurfaceor CustomPane) but not the Modules from VersionOverridesV1_1.

In your sample, you put everything under a doubly nested VersionOverrides element

  <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides"
                    xsi:type="VersionOverridesV1_0">
    <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1"
                      xsi:type="VersionOverridesV1_1"> 
     <!-- Ressources, extension point  etc -->
  </VersionOverrides>
  </VersionOverrides>

The problem is that if you put existing extension points such as MessageReadCommandSurfaceor CustomPane Extension they got ignored from those Outlook 2016 not supporting the VersionOverridesV1_1

To solve this you have to duplicate the common material between elements xsi:type="VersionOverridesV1_0" and xsi:type="VersionOverridesV1_1". It took me some time to figure it out and if you do not have access to such an Outlook build you may not be aware of the problem. It would be better to upgrade the manifest to add an "older" extension point so that people may see this pitfall.

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions