Outlook add-in API requirement set 1.12
The Outlook add-in API subset of the Office JavaScript API includes objects, methods, properties, and events that you can use in an Outlook add-in.
Note
This documentation is for a requirement set other than the latest requirement set.
What's new in 1.12?
Requirement set 1.12 includes all of the features of requirement set 1.11. It added the following features.
- Added new events for event-based activation.
- Added send mode options for add-ins that use the
OnMessageSend
orOnAppointmentSend
event. - Added support to display an error message to the user in event-based activation add-ins.
Change log
Added new events for event-based activation: Adds support for the following events.
OnMessageSend
OnAppointmentSend
OnMessageCompose
OnAppointmentOrganizer
Modified the LaunchEvent manifest element: Adds the
SendMode
attribute used by theOnMessageSend
andOnAppointmentSend
events. This attribute specifies options available to the user if an add-in stops an item from being sent or if the add-in is unavailable.Created Office.SmartAlertsEventCompletedOptions: Adds the
allowEvent
anderrorMessage
properties. TheallowEvent
property indicates if the handled event should continue execution or be canceled. IfallowEvent
is set tofalse
when the add-in's condition isn't met, theerrorMessage
property can be used to display a message to the user.