What's changed in the JavaScript API for Office (v1.1)

apps for Office

The version 1.1 JavaScript API for Office offers new and updated objects, methods, properties, events and enumerations to extend the functionality of your apps for Office. Use the links below to see the new and updated API members.

Last modified: March 10, 2014

Applies to: Access app for SharePoint | Excel 2013 | Excel 2013 RT | Excel 2013 SP1 | Excel Online | Outlook 2013 | Outlook 2013 RT | Outlook 2013 SP1 | Outlook Web App | OWA for Devices | PowerPoint 2013 | PowerPoint 2013 RT | PowerPoint 2013 SP1 | PowerPoint Online | Project 2013 | Project 2013 SP1 | Word 2013 | Word 2013 RT | Word 2013 SP1

   Office.js: v1.1

   Apps for Office manifests schema: v1.1

To develop apps using the new v1.1 API members, you need to update the JavaScript API for Office files from version 1.0 to 1.1 in your Visual Studio project.

To view all API members that are included in the v1.1 API including those that are unchanged from version 1.0, see JavaScript API for Office (v1.1).

New and updated objects

Object

Description

Appointment

Updated to include methods and fields for creating compose mode mail apps.

Binding

Updated to support table binding in content apps for Access.

Bindings

Updated to support table binding in content apps for Access.

Body

Added to enable creating and editing the body of a message or appointment in compose mode mail apps.

Document

Updates and additions to:

  • Support mode, settings, and url properties in content apps for Access.

  • Get the document as PDF with the getFileAsync method in apps for PowerPoint and Word.

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

  • Navigate to locations and objects within the document with the goToByIdAsync method in apps 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 apps for PowerPoint.

Location

Added to enable setting the location of an appointment in compose mode mail apps.

Message

Updated to include methods and fields for creating compose mode mail apps.

Office

Updated the select method to support getting bindings in content apps for Access.

Recipients

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

Settings

Updated to support creating custom settings in content apps for Access.

Subject

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

Time

Added to enable getting and setting the start and end time of an appointment in compose mode mail apps.

New and updated enumerations

Object

Description

ActiveView

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

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

BodyType

Added so that compose mode mail apps can specify the format of the body of a message or appointment.

CoercionType

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

EventType

Updated to include the new ActiveViewChanged event.

FileType

Updated to specify output in PDF format.

GoToType

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

Show:
© 2014 Microsoft