CustomUpgradeAction Element (Feature)

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

Specifies custom Feature upgrade actions.

This element references custom code that calls SharePoint's server object model. For that reason it cannot be used when the Feature that is being upgraded is inside a SharePoint Add-in.

Definition

<CustomUpgradeAction
  Name = string>
  <Parameters>
    <Parameter />
  </Parameters>
</CustomUpgradeAction>

Elements and attributes

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

Attributes

Attribute

Description

**Name**

Optional **string**. Specifies the name of the upgrade action.

Child elements

Parameters Element (Feature)

Parent elements

UpgradeActions Element (Feature)

Occurrences

Minimum: 0

Maximum: Unbounded