AppliedSiteFeatures element (Upgrade)
Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Supplies a list of site collection Features to be marked as "provisioned" for site collections 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.
<AppliedSiteFeatures>
<Feature
ID = "GUID"
Force = "true" | "false" />
</AppliedSiteFeatures>
Elements and attributes
The following sections describe attributes, child elements, and parent elements.
Attributes
None
Child elements
Parent elements
Remarks
The AppliedSiteFeatures element actually activates each feature, including running a Feature activating event handler, when the site collection 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.