extension element
Collapse the table of content
Expand the table of content

extension element

Lync 2013

Last modified: August 16, 2013

Applies to: Lync 2013 | Lync Server 2013

Contains custom elements of any name in any namespace as application-specific extension to the parent element defined in an enhanced presence schema.

<ct:extension xmlns:ct="http://schemas.microsoft.com/2006/09/sip/commontypes" >
   <[any]>...</[any]>
</ct:extension>

xs:element

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

Attributes

None

Child elements

Element

Occurrence

Description

[any]

0 or more

An XML element of any name in any namespace specifying custom extension to an enhanced presence schema.

Parent elements

Element

Description

Various

Element representing an enhanced presence category instance value and some of its child elements can support such an extension.

Where it is defined in an enhanced presence schema, this element can be used to support application-specific custom extension of the elements. The child elements specifying the extension can be of any name and in any namespace.

<contactCard 
     xmlns="http://schemas.microsoft.com/2006/09/sip/contactcard" 
     xmlns:ct="http://schemas.microsoft.com/2006/09/sip/commontypes" >
  <identity>
    <name>
      <displayName>bob</displayName>
    </name>
    <email>bob@contoso.com</email>
  </identity>
  <address type="work" />
  <company>Contoso, LTD.</company>
  <title>SR. DEVELOPMENT LEAD</title>
  <office>A</office>
  <phone type="work">
    <uri>tel:+14255550150;ext=50150</uri>
  </phone>
  <ct:delimiter />
  <ringIm>true</ringIm>
  <ct:end />
  <ct:extension>
    <e:test xmlns:e="http://schemas.microsoft.com/2006/09/sip/ccextension" />
    <e:test2 xmlns:e="http://schemas.microsoft.com/2006/09/sip/ccextension" />
  </ct:extension>
</contactCard>

In the code snippet above, <e:test> and <e:test2> are two elements introduced as a custom extension to a contactCard category instance.

Namespace

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

Schema Name

CommonTypes

Validation File

CommonTypes.Xsd

Can be Empty

True

Show:
© 2016 Microsoft