Components element (Site)

Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013

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

<Components>
</Components>

Elements and attributes

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

Attributes

None

Child elements

Parent elements

Occurrences

  • Minimum: 0
  • Maximum: 1

Remarks

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

Example

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>