PhoneNumber object (JavaScript API for Office v1.1)

JavaScript API for Office v1.1

Represents a phone number identified in an item.

Last modified: November 24, 2014

Applicable Outlook modes

Read

Available in requirement sets

Mailbox

Office.context.mailbox.item.getEntities().phoneNumbers;

Properties

Property name

Outlook mode

Description

Introduced in

originalPhoneString

Read

Gets the text that was identified as a phone number.

Version 1.0

phoneString

Read

Gets the phone number.

Version 1.0

type

Read

Gets a string that identifies the type of phone number (work, home, mobile, other)

Version 1.0

The list of phone numbers in an email message is returned in the phoneNumbers property of the Entities object that is returned when you call the getEntities method on the selected item.

App types

Mail app

Supported clients

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

Library

Office.js

Namespace

Office

Show:
© 2014 Microsoft