WebFeatures Element (Site)

Applies to: SharePoint Foundation 2010

Specifies Web site Features to activate in sites that are created through the site definition.

<WebFeatures>
</WebFeatures>

Attributes

Attribute

Description

None

N/A

Child Elements

Feature

Parent Elements

Configuration

Occurrences

Minimum: 0

Maximum: 1

Remarks

Microsoft SharePoint Foundation activates features specified within the Onet.xml file in the order that they are listed. Consequently, you must specify Features that are depended upon before Features that depend upon them.