Outlook add-in API Preview requirement set
Note: This documentation is for a preview requirement set. This requirement set is not fully implemented yet, and clients will not accurately report support for it. You should not specify this requirement set in your add-in manifest. Methods and properties that are introduced in this requirement set should be individually tested for availability before using them.
The Preview Requirement set includes all of the features of Requirement set 1.5.
Features in preview
The following features are in preview.
- Event.completed - A new optional parameter
options, which is a dictionary with one valid value
allowEvent. This value is used to cancel execution of an event.
- Office.context.mailbox.item.getSelectedEntities - Added a new function that gets the entities found in a highlighted match a user has selected. Highlighted matches apply to contextual add-ins.
- Office.context.mailbox.item.getSelectedRegExMatches - Added a new function that returns string values in a highlighted match that match the regular expressions defined in the manifest XML file. Highlighted matches apply to contextual add-ins.
- Office.context.mailbox.item.getInitializationContextAsync - Added a new function that returns initialization data passed when the add-in is activated by an actionable message.
- Office.context.auth.getAccessTokenAsync - Added access to
getAccessTokenAsync, which allows add-ins to get an access token for the Microsoft Graph API.
- Office.context.mailbox.displayNewMessageForm - Added a new function that opens a new message form.
- Office.context.mailbox.userProfile.accountType - Added a new member to the user profile that indicates the type of the user's account.