Bindings object (JavaScript API for Office v1.0)

JavaScript API for Office v1.0

Represents the bindings the app has within the document.

Last modified: June 12, 2014

Office.context.document.bindings
Properties

Name

Description

document

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

Methods

Name

Description

addFromNamedItemAsync

Adds a binding to a named item in the document.

addFromPromptAsync

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

addFromSelectionAsync

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

getAllAsync

Gets all bindings that were previously created.

getByIdAsync

Gets the specified binding by its identifier.

releaseByIdAsync

Removes the specified binding.

Supported clients

Excel 2013, Excel 2013 RT, Excel Online, Word 2013, Word 2013 RT

Library

Office.js

Namespace

Office

Show:
© 2014 Microsoft