Schema extension of Enhanced Presence categories

Lync 2013

Last modified: August 16, 2013

Applies to: Lync 2013 | Lync Server 2013

Schema extensions for existing enhanced presence categories are made by the schema designer. Using such extensions, the schema designer can update a given category schema from one version to the next.

Schema extensions add additional child elements to existing category. The added elements are in the same namespace of the given category. This type of extension is enclosed by a delimiter element element and an end element element. Multiple delimiter elements can occur and each of the elements marks the beginning of an extension introduced in a particular version.

As an example, the following shows a state[@type='machineState'] element category instance containing a schema extension that was introduced in Microsoft Office Communications Server 2007 R2.


<state xmlns="http://schemas.microsoft.com/2006/09/sip/state" 
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
       manual="false" 
       xsi:type="machineState">
   <availability>3500</availability>
   <endpointLocation>31/West Wing Redmond</endpointLocation>
   <delimiter xmlns="http://schemas.microsoft.com/2006/09/sip/commontypes"/>
   <timeZoneBias>480</timeZoneBias>
   <timeZoneName>Pacific Standard Time</timeZoneName>
   <timeZoneAbbreviation>Pacific Standard Time</timeZoneAbbreviation>
   <device>computer</device>
   <end xmlns="http://schemas.microsoft.com/2006/09/sip/commontypes"/>
</state>

In the previous example, the schema extension adds state/timeZoneBias element, state/timeZoneName element, state/timeZoneAbbreviation element, and state/device element elements. The added elements are from the same namespace as the parent element. The extension is not rendered by Lync prior to Microsoft Office Communicator 2007 R2.

Show: