Hosts element

Specifies the Office client application where the Office Add-in will activate. Contains a collection of Host elements and their settings.

When included in the VersionOverrides node, this element overrides the Hosts element in the parent portion of the manifest.

Child elements

Element Required Description
Host Yes Describes a host and its settings.
inition for MailHost.


Host element

Specifies an individual Office application type where the add-in should activate, such as “document”, “workbook”, “presentation”, “project”, “mailbox”.

Attributes

Attribute Required Description
xsi:type Yes Describes the Office host these settings apply to.

Child elements

Element Required Description
FormFactor Yes Defines the form factor affected.

xsi:type

Controls which Office host (Word, Excel, PowerPoint, Outlook) the contained settings apply too. The value must be one of the following:

  • MailHost (Outlook)

Hosts example

<Hosts>
    <Host xsi:type="MailHost">
        <!-- Host Settings -->
    </Host>
</Hosts>