Skip to content

Latest commit

 

History

History
48 lines (36 loc) · 1.84 KB

mobileformfactor.md

File metadata and controls

48 lines (36 loc) · 1.84 KB
title description ms.date ms.localizationpriority
MobileFormFactor element in the manifest file
The MobileFormFactor element specifies the mobile form factor settings for an add-in.
05/09/2022
medium

MobileFormFactor element

Specifies the settings for an add-in for the mobile form factor. It contains all the add-in information for the mobile form factor except for the <Resources> node.

Each <MobileFormFactor> definition contains the <FunctionFile> element and one or more <ExtensionPoint> elements. For more information, see FunctionFile element and ExtensionPoint element.

The <MobileFormFactor> element is defined in VersionOverrides schema 1.1. The containing VersionOverrides element must have an xsi:type attribute value of VersionOverridesV1_1.

Add-in type: Mail

Valid only in these VersionOverrides schemas:

  • Mail 1.1

For more information, see Version overrides in the add-in only manifest.

Child elements

Element Required Description
ExtensionPoint Yes Defines where an add-in exposes functionality.
FunctionFile No A URL to a file that contains JavaScript functions.

MobileFormFactor example

...
<Hosts>
  <Host xsi:type="MailHost">
    ...
    <MobileFormFactor>
      <FunctionFile resid="residUILessFunctionFileUrl" />
      <ExtensionPoint xsi:type="MobileMessageReadCommandSurface">
        <!-- information on this extension point -->
      </ExtensionPoint>
      <!-- possibly more ExtensionPoint elements -->
    </MobileFormFactor>
  </Host>
</Hosts>
...