Outlook add-in API requirement set 1.5
The Outlook add-in API subset of the JavaScript API for Office includes objects, methods, properties and events that you can use in an Outlook add-in.
What's new in 1.5?
Requirement set 1.5 includes all of the features of Requirement set 1.4. It added the following features.
- Added support for pinnable taskpanes.
- Added support for calling REST APIs.
- Added ability to mark an attachment as inline.
- Added ability to close a taskpane or dialog.
Change log
- Added Office.context.mailbox.addHandlerAsync: Adds an event handler for a supported event.
- Added Office.EventType: Specifies the event associated with an event handler.
- Added Office.context.mailbox.restUrl: Gets the URL of the REST endpoint for this email account.
- Modified Office.context.mailbox.getCallbackTokenAsync: A new version of this method with a new signature (
getCallbackTokenAsync([options], callback)) has been added. The original version is still available and is unchanged. - Added Office.context.ui.closeContainer:
- Modified Office.context.mailbox.item.addFileAttachmentAsync: A new value in the
optionsdictionary calledisInline, used to specify that an image is used inline in the message body. - Modified Office.context.mailbox.item.displayReplyAllForm: A new value in the
formData.attachmentsdictionary calledisInline, used to specify that an image is used inline in the message body. - Modified Office.context.mailbox.item.displayReplyForm: A new value in the
formData.attachmentsdictionary calledisInline, used to specify that an image is used inline in the message body.