Outlook add-in API requirement set 1.6
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.6?
Requirement set 1.6 includes all of the features of requirement set 1.5. It added the following features.
Added new APIs for contextual add-ins to get the entity or RegEx match that the user selected to activate the add-in.
Important
Entity-based contextual Outlook add-ins are now retired. As an alternative solution, implement regular expression rules in your contextual add-in. For guidance on how to implement these rules, see Contextual Outlook add-ins.
Added a new API to open a new message form.
Added the ability for the add-in to determine the account type of the user's mailbox.
Change log
Added Office.context.mailbox.item.getSelectedEntities: Adds a new method that gets the entities found in a highlighted match a user has selected. Highlighted matches apply to contextual add-ins.
Warning
Office.context.mailbox.item.getSelectedEntities
is now deprecated. Specify regular expression rules instead.Added Office.context.mailbox.item.getSelectedRegExMatches: Adds a new method 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.
Added Office.context.mailbox.displayNewMessageForm: Adds a new method that opens a new message form.
Added Office.context.mailbox.userProfile.accountType: Adds a new member to the user profile that indicates the type of the user's account.