Export (0) Print
Expand All

Binding.id property (JavaScript API for Office v1.1)

JavaScript API for Office v1.1

Gets the identifier of the object.

Last modified: June 12, 2014

var bindingID = bindingObj.id;

A string which uniquely identifies this binding among the bindings in the same Document object.

In version 1.1 of Office.js, you can create table bindings in content apps for Access.

Office.context.document.bindings.getByIdAsync("myBinding", function (asyncResult) {
    write(asyncResult.value.id);
});

// Function that writes to a div with id='message' on the page.
function write(message){
    document.getElementById('message').innerText += message; 
}

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