Appointment.subject property (JavaScript API for Office v1.1)

JavaScript API for Office v1.1

Gets or sets the description that appears in the subject field of an appointment.

Last modified: September 25, 2014

Applicable Outlook modes

Compose or read

Available in requirement sets

Mailbox

Office.context.mailbox.item.subject;

Compose mode

A Subject object that provides methods used to get and set the subject of an appointment.

Read mode

A string that represents the subject of the appointment.

The subject property represents the complete subject of the appointment, as sent by the email server. To get the subject minus any leading prefixes such as "RE:" and "FW:" in a read mode app for Office, use the normalizedSubject property.

New functionality in version 1.1

In compose mode apps for Office, the subject field is a Subject object that provides getAsync and setAsync methods to get and set the subject of an appointment.

App types

Mail app

Supported clients

Outlook 2013, Outlook 2013 SP1, Outlook 2013 RT, Outlook Web App, and OWA for Devices

Library

Office.js

Namespace

Office

Show:
© 2014 Microsoft