Feature element (Upgrade)

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

Specifies a Feature to be marked as "provisioned" for websites or site collections created in Microsoft SharePoint Foundation 2010.

<Feature
  ID = "GUID"
  Force = "true" | "false"/>

Elements and attributes

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

Attributes

Attribute Description
Force
Optional Boolean. True if the Feature is installed by force during upgrade, even if the Feature is already installed; otherwise, False.
ID
Required GUID. Specifies the identifier (ID) of the Feature.

Child elements

None

Parent elements

Occurrences

  • Minimum: 0
  • Maximum: 1

Example

For an example of how this element is used, see Upgrade Definition schema.