AddContentTypeField element (Feature)

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

Specifies the content type field to add during a Feature upgrade.

Definition

<AddContentTypeField 
  ContentTypeId = string
  FieldId = string
  PushDown = TRUE | FALSE />

Elements and attributes

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

Attributes

Attribute

Description

ContentTypeId

Optional string. Specifies the content type.

FieldId

Optional string. Specifies the field in the content type.

PushDown

Optional Boolean. Specifies whether the content type field should be applied to inheriting content types and lists.

Child elements

None

Parent elements

UpgradeActions element (Feature)

Occurrences

Minimum: 0

Maximum: Unbounded