Export (0) Print
Expand All

OC Presence: Categories

An example of a category in Office Communicator is a note. Users type a note in the Office Communicator UI, and when the action is complete, Office Communicator publishes a category instance with a category of name “note”.

Adding a note in Office Communicator
Dd941378.bccb4317-1684-4942-8321-7442de866d70(en-us,office.13).bmp

The following example shows the XML that is published by Office Communicator when the user completes the note. The type attribute has a value of “personal”, which means that someone set it from Office Communicator; if it were set by an Out of Office note from Outlook, it would have a type of “OOF”.


<nt:note xmlns:nt="http://schemas.microsoft.com/2006/09/sip/note">
   <nt:body type="personal" uri="">Gone fishing.</nt:body>
</nt:note>

Office Communications Server only recognizes category names if they are registered on Office Communications Server on behalf of a client application such as Office Communicator. Office Communicator has registered the following presence category names: state, note, contactCard, calendarData, and device. These are described in the following table and are discussed in more detail in later sections. The Table of Office Communicator Containers and Categories topic lists all the category names that Office Communications Server uses by default. Information about the schemas associated with these category types can be found in Unified Communications Enhanced Presence Schemas for Microsoft Office Communications Server 2007, and the general presence protocol can be found in [MS-PRES]: Presence Protocol Specification.

Default presence category names that applications can publish to Office Communications Server

Category nameDescription

state

Information about the user state, machine state, calendar state, and phone states.

note

Text that can be displayed in Office Communicator.

contactCard

User information, such as display name, e-mail address, phone numbers, title, and company.

calendarData

Calendar data is typically set by Exchange and contains information about working hours and when the user is free or busy.

device

Information about the device’s presence and communication capabilities, such as calendar, remote call control, voice, and video.

Community Additions

ADD
Show:
© 2015 Microsoft