2.2.21 OfficeApp

Target namespace: http://schemas.microsoft.com/office/appforoffice/1.0

Referenced by: ContentApp, TaskPaneApp, MailApp

Specifies an abstract type that defines an Office Add-in.

Child Elements:

Id: A UUID element (section 2.3.5) that specifies a unique identifier for the Office Add-in.

AlternateId: An AlternateId element (section 2.3.6) that specifies an alternate identifier for the Office Add-in.

Version: A Version element (section 2.3.8) that specifies the version of the Office Add-in.

ProviderName: A ShortString element (section 2.3.2) that specifies the name of the individual or company that developed the Office Add-in.

DefaultLocale: A CultureName element (section 2.3.7) that specifies the culture name of the locale used by default by strings in the Office Add-in manifest.

DisplayName: A ShortLocaleAwareSetting element (section 2.2.6) that specifies a short name for the Office Add-in.

Description: A LongLocaleAwareSetting element (section 2.2.7) that specifies a verbose description of the Office Add-in.

IconUrl: A URLLocaleAwareSetting element (section 2.2.8) that specifies the Uniform Resource Locator (URL) of the image that is used to represent the Office Add-in.

SupportUrl: A URLLocaleAwareSetting element (section 2.2.8) that specifies the URL of a page that provides support information for the Office Add-in.

AppDomains: An AppDomains element (section 2.2.20) that specifies additional domains that this Office Add-in will use to load pages.

VersionOverrides: An element that specifies elements for use in future versions of the Office Add-in platform. These elements MAY be overrides to previously defined elements or new elements.

The following W3C XML Schema ([XMLSCHEMA1/2] section 2.1) fragment specifies the contents of this complex type.

 <xs:complexType name="OfficeApp" abstract="true">
   <xs:sequence>
     <xs:element name="Id" type="UUID" minOccurs="1" maxOccurs="1"/>
     <xs:element name="AlternateId" type="AlternateId" minOccurs="0" maxOccurs="1"/>
     <xs:element name="Version" type="Version" minOccurs="1" maxOccurs="1"/>
     <xs:element name="ProviderName" type="ShortString" minOccurs="1" maxOccurs="1"/>
     <xs:element name="DefaultLocale" type="CultureName" minOccurs="1" maxOccurs="1"/>
     <xs:element name="DisplayName" type="ShortLocaleAwareSetting" minOccurs="1" maxOccurs="1"/>
     <xs:element name="Description" type="LongLocaleAwareSetting" minOccurs="1" maxOccurs="1"/>
     <xs:element name="IconUrl" type="URLLocaleAwareSetting" minOccurs="0" maxOccurs="1"/>
     <xs:element name="SupportUrl" type="URLLocaleAwareSetting" minOccurs="0" maxOccurs="1"/>
     <xs:element name="AppDomains" type="AppDomains" minOccurs="0" maxOccurs="1"/>
     <xs:element name="VersionOverrides" xmlns="http://schemas.microsoft.com/office/versionoverrides/1.0" minOccurs="0" maxOccurs="1"/>
   </xs:sequence>
 </xs:complexType>

See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1/2] section 2.1).