Feature element (Site)

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

Specifies a reference to a Feature within a site definition.

<Feature
  Id = "Text"  SourceVersion = "Text">
</Feature>

Elements and attributes

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

Attributes

Attribute Description
Id
Required Text. Specifies a unique identifier for the feature.
SourceVersion
Optional Text.

Child elements

Parent elements

Occurrences

  • Minimum: 0
  • Maximum: Unbounded