Bindings object (JavaScript API for Office v1.1)

JavaScript API for Office v1.1

Represents the bindings the app has within the document.

Last modified: June 12, 2014

Introduced in Office.js version

1.0

Updated in Office.js version

1.1

Office.context.document.bindings
Properties

Name

Description

Updates for Office.js v1.1

document

Gets a Document object that represents the document associated with this set of bindings.

Provides access to a Document object that represents the current Access database in content apps for Access.

Methods

Name

Description

Updates for Office.js v1.1

addFromNamedItemAsync

Adds a binding to a named item in the document.

  • Added support for table binding in content apps for Access.

  • Added support for binding to matrix data as a table binding in apps for Excel.

addFromPromptAsync

Displays UI that enables the user to specify a selection to bind to.

  • Added support for table binding in content apps for Access.

  • Added support for binding to matrix data as a table binding in apps for Excel.

addFromSelectionAsync

Adds a binding object of the type specified bound to the current selection in the document.

  • Added support for table binding in content apps for Access.

  • Added support for binding to matrix data as a table binding in apps for Excel.

getAllAsync

Gets all bindings that were previously created.

Added support for table binding in content apps for Access.

getByIdAsync

Gets the specified binding by its identifier.

Added support for table binding in content apps for Access.

releaseByIdAsync

Removes the specified binding.

Added support for table binding in content apps for Access.

App types

Content apps, Task pane apps

Supported clients

Access app for SharePoint, Excel 2013, Excel 2013 SP1, Excel 2013 RT, Excel Online, Word 2013, Word 2013 SP1, Word 2013 RT

Library

Office.js

Namespace

Office

Show:
© 2014 Microsoft