AppliedWebFeatures element (Upgrade)

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

Supplies a list of website Features to be marked as "provisioned" for websites created in Microsoft SharePoint Foundation 2010. For example, an announcements list template of the previous version must be mapped (related) to its equivalent announcements Feature in the new version.

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

Elements and attributes

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

Attributes

None

Child elements

Parent elements

Remarks

The AppliedWebFeatures element activates each feature, including running a Feature activating event handler, when the website is upgraded. This allows you to run custom code during upgrade, and implement custom features solely for the purpose of doing custom site transformation.

Example

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