What's changed in the JavaScript API for Office

Office Add-ins

The JavaScript API for Office is periodically updated with new and updated objects, methods, properties, events and enumerations to extend the functionality of your Office Add-ins. Use the links below to see the new and updated API members.

Last modified: December 15, 2015

Applies to: Access apps for SharePoint | apps for Office | Excel | Office Add-ins | Outlook | PowerPoint | Project | Word

To develop add-ins using new API members, you need to update the JavaScript API for Office files in your project.

To view all API members including those that are unchanged from previous updates, see JavaScript API for Office.

New and updated objects

Object

Description

Version added or updated

Item

Mailbox 1.2

Item

Updated to include methods and fields for creating compose mode Outlook add-ins.

1.1

Binding

Updated to support table binding in content add-ins for Access.

1.1

Bindings

Updated to support table binding in content add-ins for Access.

1.1

Body

Added to enable creating and editing the body of a message or appointment in compose mode Outlook add-ins.

1.1

Document

Updates and additions to:

  • Support mode, settings, and url properties in content add-ins for Access.

  • Get the document as PDF with the getFileAsync method in add-ins for PowerPoint and Word.

  • Get file properties with the getFileProperties method in add-ins for Excel, PowerPoint, and Word.

  • Navigate to locations and objects within the document with the goToByIdAsync method in add-ins for Excel and PowerPoint.

  • Get the id, title, and index for selected slides with the getSelectedDataAsync method (when you specify the new Office.CoercionType.SlideRangecoercionType enum) in add-ins for PowerPoint.

1.1

Location

Added to enable setting the location of an appointment in compose mode Outlook add-ins.

1.1

Office

Updated the select method to support getting bindings in content add-ins for Access.

1.1

Recipients

Added to enable getting and setting the recipients of a message or appointment in compose mode.

1.1

Settings

Updated to support creating custom settings in content add-ins for Access.

1.1

Subject

Added to enable getting and setting the subject of a message or appointment in compose mode Outlook add-ins.

1.1

Time

Added to enable getting and setting the start and end time of an appointment in compose mode Outlook add-ins.

1.1

New and updated enumerations

Object

Description

Version

ActiveView

Specifies the state of the active view of the document, for example, whether the user can edit the document.

Added so that add-ins for PowerPoint can determine if the users is viewing the presentation (Slide Show) or editing slides.

1.1

CoercionType

Updated with Office.CoercionType.SlideRange to support getting the selected slide range with the getSelectedDataAsync method in add-ins for PowerPoint.

1.1

EventType

Updated to include the new ActiveViewChanged event.

1.1

FileType

Updated to specify output in PDF format.

1.1

GoToType

Added to specify the place or object in the document to go to.

1.1

Show:
© 2016 Microsoft