Export (0) Print
Expand All
Expand Minimize

OfficeApp element (app manifest schema v1.1)

The root element in the manifest of an app for Office.

Last modified: March 12, 2014

Content app, task pane app, mail app

Element type

OfficeApp

Namespace

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

Schema file

offappmanifest.xsd

<xs:element name="OfficeApp" type="OfficeApp"></xs:element>

If the schema defines specific requirements, such as sequence, minOccurs, maxOccurs, and choice, see the definition section.

Parent elements

None.

Child elements

Element

Type

Description

AlternateId

AlternateId

Specifies the alternate ID for the app as issued by the Office Store.

AppDomains

AppDomains

Specifies additional domains that this app will use to load pages.

DefaultLocale

CultureName

Specifies the default culture name of the locale used by strings in this manifest.

Description

LongLocaleAwareSetting

Specifies a more verbose description of the app.

DisplayName

ShortLocaleAwareSetting

Specifies a short name for the app.

IconUrl

URLLocaleAwareSetting

Specifies the URL of the image that is used to represent the app.

Id

UUID

Specifies the unique ID of the app.

ProviderName

ShortString

Specifies the name of the individual or company that developed the app.

SupportUrl

URLLocaleAwareSetting

Specifies the URL of a page that provides support information for the app.

Version

Version

Specifies the version of the app.

VersionOverrides

Not defined

Contains elements for use in future versions of the app platform as they release. These elements may be overrides to previously defined elements or new elements.

HighResolutionIconUrl

URLLocaleAwareSetting

Specifies the URL of the image that is used to represent the app on high dpi screens.

Hosts

Hosts

Specifies the Office client application where the app for Office will activate.

Attributes

None.

Because OfficeApp is an abstract type, when specifying an OfficeApp element in a manifest, use the xsi:type attribute to specify the exact type which extends this OfficeApp abstract type. An exact type is one of the following: the ContentApp, MailApp, or TaskPaneApp complex type.

Note that the child elements of the OfficeApp, ContentApp, MailApp and TaskPaneApp complex types follow a specific sequence as defined in the corresponding parent type. When adding these child elements to a manifest, refer to the Definition section of the parent type topic for the appropriate order.

The following is an example of the OfficeApp element in a manifest of a mail app.

<OfficeApp xmlns="http://schemas.microsoft.com/office/appforoffice/1.1" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:type="MailApp">
Show:
© 2014 Microsoft