LaunchEvents element

Configures your add-in to activate based on supported events. Child of the ExtensionPoint element. For more information, see Configure your Outlook add-in for event-based activation.

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.

Syntax

<ExtensionPoint xsi:type="LaunchEvent">
  <LaunchEvents>
    <LaunchEvent Type="OnNewMessageCompose" FunctionName="onMessageComposeHandler"/>
    <LaunchEvent Type="OnNewAppointmentOrganizer" FunctionName="onAppointmentComposeHandler"/>
  </LaunchEvents>
  <!-- Identifies the runtime to be used (also referenced by the Runtime element). -->
  <SourceLocation resid="WebViewRuntime.Url"/>
</ExtensionPoint>

Contained in

Child elements

Element Required Description
LaunchEvent Yes Map supported event to its function in the JavaScript file for add-in activation.

See also