Chapter 8: Managing Address Entries ShoreTel Communicator for Windows
ShoreTel 12.3 115
8.4.2.2 XML Files
XML files contain a structured set of elements. The following sections describe required file
components and XML elements recognized by ShoreTel Communicator.
XML File Name
The file name must have the extension .xml.
Elements
The following elements are recognized by ShoreTel Communicator Contact XML files.
Level 1 Elements: Each file contains one Contacts element.
contacts: The Contacts element specifies the source name and version number and
contains one Contact element for each contact in the file. Defines valid attributes
valid attributes: source, version
Example: <contacts source = “File 1” version = “1.0”> </contacts>
Level 2 Elements: The Contacts element contains one Contact element for each user
defined by the XML file. Each contact element contains Level 3 elements that define the
field contents for the user. Each Contact element must contain one ContactID element and
one other Level 3 element.
Level 3 Elements: Level 3 elements are contained with the Contact element and specify
field contents for contacts imported to ShoreTel Communicator. The following is a list of
Level 3 elements.
contactID: This field uniquely identifies the contact record within the file. The Contact
ID is a string with a maximum of 126 characters. ShoreTel Communicator does not
display this field. All contact records require a Contact ID. If multiple contact record
contain identical Contact IDs, the last such contact is the list is imported into ShoreTel
Communicator and all other contacts with the same ID are ignored.
Example: <contactID>1234</contactID>
name: This element specifies the contact’s name. Each contact element may contain
only one name element.
valid attributes: first, middle, last
Example: <name first=”Sarah” middle=”Jane” last=”Clauser”/>
company: Each contact element may contain only one company element.
valid attributes: value
Example: <company name=”Anycorp, Inc.”/>
department: Each contact element may contain only one department element.
valid attributes: value
Example: <department value=”Sales”/>
categories: Each contact element may contain only one categories element.
valid attributes: value
Example: <categories value=”Austin”/>
phone: This element specifies the contact’s phone numbers. A contact element may
contain multiple phone elements, subject to the following:
Terms of Use | Privacy Policy | DMCA Policy
2006-2022 Rsmanuals.com