Docs API Reference

OfficeApp element

The root element in the manifest of an Office Add-in.

Add-in type: Content, Task pane, Mail

Syntax:

<OfficeApp 
  xmlns="http://schemas.microsoft.com/office/appforoffice/1.1" 
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  xsi:type= ["ContentApp" |"MailApp"| "TaskPaneApp"]>
  ...
</OfficeApp>

Contained in:

none

Must contain:

Element Content Mail TaskPane
Id x x x
Version x x x
ProviderName x x x
DefaultLocale x x x
DefaultSettings x x x
DisplayName x x x
Description x x x
FormSettings x
Permissions x x
Rule x

Can contain:

Element Content Mail TaskPane
AlternateId x x x
IconUrl x x x
HighResolutionIconUrl x x x
SupportUrl x x x
AppDomains x x x
Hosts x x x
Requirements x x x
AllowSnapshot x
Permissions x
DisableEntityHighlighting x
Dictionary x
VersionOverrides X X X

Attributes

xmlns Defines the Office Add-in manifest namespace and schema version. This attribute should always be set to "http://schemas.microsoft.com/office/appforoffice/1.1"
xmlns:xsi Defines the XMLSchema instance. This attribute should always be set to "http://www.w3.org/2001/XMLSchema-instance"
xsi:type Defines the kind of Office Add-in. This attribute should be set to one of: "ContentApp", "MailApp", or "TaskPaneApp"