Edit

Share via


note/body element

Applies to: Lync 2013 | Lync Server 2013

Holds a personal or Out of Office message as a presence note.

<body xmlns="http://schemas.microsoft.com/2006/09/sip/note"
      uri="uri"
      type="noteTypeEnumEx" 
      LCID="int >= 0" 
      startTime="xs:dateTime"
      endTime="xs:dateTime"
      [anyAttr]="anyattr">message string</body>

xs:anySimpleType

Attributes and elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute

Description

type

Required attribute to specify the type of the presence note. Microsoft Lync 2013 recognizes the following type tokens as the value of this attribute:

personal

User-settable personal message.

OOF

Out of Office message set in Outlook.

LCID

Optional attribute to specify locale ID of the string value.

uri

Optional attribute to specify the SIP URI of the note publisher.

startTime

Optional attribute to specify the starting time of this note publication in a time-bound publication.

endTime

Optional attribute to specify the ending time of this note publication in a time-bound publication.

[anyAttr]

Optional custom attribute of any name and namespace

Child elements

None

Parent elements

Element

Description

note category instance value element

The presence note category instance value.

Text value

An instance of any XML simple type.

Example

The following XML code snippet shows a presence note of the personal type.

<nt:note xmlns:nt="http://schemas.microsoft.com/2006/09/sip/note">
   <nt:body type="personal">I'm away today.</nt:body>
</nt:note>

Element information

Namespace

http://schemas.microsoft.com/2006/09/sip/note

Schema Name

note

Validation File

note.xsd

Can be Empty

True

See also

Reference

calendarData category instance value element

note category instance value element

Category instance elements for presence