Share via


2.2.32 MailApp

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

Defines an Office Add-in activated according to rules and displayed adjacent to the selected mail item to enhance the reading experience.

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.

Capabilities: A CT_Capabilities2 element (section 2.2.31) that specifies the capabilities that are required by this mail add-in. The host application will look for at least one match before activating the app.

DesktopSettings: A DesktopMailAppSettings element (section 2.2.11) that specifies settings that apply when this mail add-in is used on a desktop computer.

TabletSettings: A TabletMailAppSettings element (section 2.2.12) that specifies settings that apply when this mail add-in is used on a tablet computer.

PhoneSettings: A PhoneMailAppSettings element (section 2.2.13) that specifies settings that apply when this mail add-in is used on a smartphone.

Permissions: An ST_Permissions2 element (section 2.3.22) that specifies the permission level required by this mail add-in.

Rule: A Rule section element (2.2.14) that specifies the activation rule for this mail add-in.

DisableEntityHighlighting: A boolean ([XMLSCHEMA2] section 3.2.2) element that specifies whether entity highlighting is disabled for this mail add-in. If the value of this element is true, entity highlighting is disabled for this mail add-in.

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

 <xs:complexType name="MailApp">
   <xs:complexContent>
     <xs:extension base="OfficeApp">
       <xs:sequence>
         <xs:element name="Capabilities" minOccurs="1" maxOccurs="1" type="ver:CT_Capabilities2"/>
         <xs:element name="DesktopSettings" type="DesktopMailAppSettings" minOccurs="1" maxOccurs="1"/>
         <xs:element name="TabletSettings" type="TabletMailAppSettings" minOccurs="0" maxOccurs="1"/>
         <xs:element name="PhoneSettings" type="PhoneMailAppSettings" minOccurs="0" maxOccurs="1"/>
         <xs:element name="Permissions" minOccurs="1" maxOccurs="1" type="ver:ST_Permissions2"/>
         <xs:element name="Rule" type="Rule" minOccurs="1" maxOccurs="1"/>
         <xs:element name="DisableEntityHighlighting" type="xs:boolean" minOccurs="0" maxOccurs="1"/>
         <xs:any id="MailAppSignature" minOccurs="0" maxOccurs="1" namespace="http://www.w3.org/2000/09/xmldsig#" processContents="lax"/>
       </xs:sequence>
     </xs:extension>
   </xs:complexContent>
 </xs:complexType>

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