Components Element (Site)

Last modified: March 09, 2015

Applies to: SharePoint Foundation 2010

Used in the Onet.xml file of a site definition to provide information about Microsoft SharePoint Foundation components.


<Components>
</Components>

Attribute

Description

None

N/A

Minimum: 0

Maximum: 1

Both child elements of the Components element are optional, and neither element can appear more than once.

The following example from an Onet.xml file shows how the Components element is used.

<Components>
  <FileDialogPostProcessor ID="C6659361-1625-4746-931C-36014B146679" />
  <ExternalSecurityProvider ID="A373E6A8-7A87-11D3-B1C1-00C04F68155C" 
    Type="Microsoft.SharePoint.Portal;Microsoft.SharePoint
    .Portal.SiteData.CategoryWebSecurityProvider" />
</Components>
Show: