This topic has not yet been rated - Rate this topic

Office object (apps for Office)

apps for SharePoint

Published: February 26, 2013

Represents an instance of an app, which provides access to the top-level objects of the API.

Office
Properties

Name

Description

context

Gets the Context object that represents the runtime environment of the app and provides access to the top-level objects of the API.

Methods

Name

Description

select

Creates a promise to return a binding based on the selector string passed in.

useShortNamespace

Toggles on and off the Office alias for the full Microsoft.Office.WebExtension namespace.

Events

Name

Description

initialize

Occurs when the runtime environment is loaded and the app is ready to start interacting with the application and hosted document.

The Office object enables the developer to implement a callback function for the Initialize event and provides access to the Context object.

Supported clients

Excel 2013, Excel Web App, Word 2013, Outlook 2013, Outlook Web App, and Project 2013

Library

Office.js

Namespace

Office

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.