MapFile element (Feature)

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

Specifies a mapping between files during a Feature upgrade.

Definition

<MapFile
  FromPath = string
  ToPath = string />

Elements and attributes

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

Attributes

Attribute

Description

**FromPath**

Optional **string**. Specifies the source file.

**ToPath**

Optional **string**. Specifies the destination file.

Child elements

None

Parent elements

UpgradeActions element (Feature)

Occurrences

Minimum: 0

Maximum: Unbounded