Outlook add-in API requirement set 1.15
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.
What's new in 1.15?
Requirement set 1.15 includes all of the features of requirement set 1.14. It added the following features.
- Added support for radio buttons to format reporting options in the integrated spam-reporting dialog.
- Added support to include a "Don't show this message again" checkbox in a spam-reporting dialog that doesn't require input from a user.
- Added support to open a task pane from a spam-reporting dialog.
- Added support for Markdown to format error messages in a Smart Alerts dialog.
- Added support to run a function from the Smart Alerts dialog.
- Added a method to programmatically send a mail item.
- Added a method to load a single message from multiple selected messages to get its properties or perform operations on it.
- Added an event that occurs when an add-in's task pane is opened from an actionable message, InsightMessage notification, Smart Alerts dialog, or an integrated spam-reporting dialog.
- Added support for Base64-encoded attachments in reply forms.
Change log
- Added the
inputType
attribute to the ReportingOptions element of the add-in only manifest: When implementing the integrated spam-reporting feature, uses radio buttons to format reporting options in the preprocessing dialog. - Added the NeverShowAgainOption add-in only manifest element: When implementing the integrated spam-reporting feature, adds a "Don't show this message again" checkbox to the preprocessing dialog. This checkbox is supported in preprocessing dialogs that don't require input from a user.
- Added new properties to Office.SpamReportingEventCompletedOptions: The following properties configure a task pane to open from the Report button of the preprocessing dialog.
- commandId property: When the Report option is selected from a preprocessing dialog, specifies the ID of the task pane that opens.
- contextData property: When the Report option is selected from a preprocessing dialog, specifies any JSON data passed to the add-in's task pane for processing.
- Added the errorMessageMarkdown property to Office.SmartAlertsEventCompletedOptions: Supports Markdown to format the error message shown in a Smart Alerts dialog.
- Updated the commandId and contextData properties of Office.SmartAlertsEventCompletedOptions: Now supports running a function from the Smart Alerts dialog.
- Added the sendAsync method: Programmatically sends a mail item.
- Added the Office.context.mailbox.loadItemByIdAsync method: When the item multi-select feature is implemented, loads a single item to perform operations on it or get properties that aren't provided by the getSelectedItemsAsync method.
- Added the Office.LoadedMessageCompose and Office.LoadedMessageRead objects: Represents the properties and methods of a mail item that's currently loaded using the
loadItemByIdAsync
method. - Added the Office.EventType.InitializationContextChanged event: Occurs when an add-in's task pane is opened from an actionable message,
InsightMessage
notification, Smart Alerts dialog, or integrated spam-reporting dialog. - Added Office.InitializationContextChangedEventArgs: When the
Office.EventType.InitializationContextChanged
event occurs, provides data from an actionable message,InsightMessage
notification, Smart Alerts dialog, or integrated spam-reporting dialog to an add-in's task pane. - Updated the type property of Office.ReplyFormAttachment: Now supports Base64-encoded attachments in reply forms.
- Added the base64File property to
Office.ReplyFormAttachment
: Specifies the Base64-encoded string of the file to be attached to a reply form. - Added the Office.MailboxEnums.AttachmentType.Base64 enum: Specifies that the attachment is a Base64-encoded file. This attachment type is only supported by the displayReplyAllForm, displayReplyAllFormAsync, displayReplyForm, and displayReplyFormAsync methods.