DesktopFormFactor element

Specifies the settings for an add-in for the desktop form factor. The desktop form factor includes Office for Windows, Office for Mac, and Office Online. It contains all the add-in information for the desktop form factor except for the Resources node.

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

Child elements

Element Required Description
ExtensionPoint Yes Defines where an add-in exposes functionality.
FunctionFile Yes A URL to a file that contains JavaScript functions.
GetStarted No Defines the callout that appears when installing the add-in in Word, Excel, or PowerPoint hosts.

DesktopFormFactor example

  <Host xsi:type="Presentation">
      <FunctionFile resid="residDesktopFuncUrl" />
        <!-- GetStarted callout -->
      <ExtensionPoint xsi:type="PrimaryCommandSurface">
        <!-- information on this extension point -->
      <!-- possibly more ExtensionPoint elements -->