FieldTemplate Element (DeploymentManifest)

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

Represents a template for a Windows SharePoint Services 3.0 field object (SPField).

Definition

DECLARATION
<xs:element name="FieldTemplate" type="DeploymentFieldTemplate" />

USAGE
<SPObject>
        <FieldTemplate>
                Id="Guid"
                Name="xs:string"
                ParentWebId="Guid"
                Scope="xs:string"
                Description="xs:string"
                Group="xs:string"
            <Field />
        </FieldTemplate>
</SPObject>

Type

DeploymentFieldTemplate

Elements and attributes

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

Attributes

Attribute Type Description
Id
Guid Simple Type (DeploymentManifest)
Optional. Unique identifier of the field template.
Name
xs:string
Optional. Name of the field template.
ParentWebId
Guid Simple Type (DeploymentManifest)
Unique identifier of the parent website.
Optional on export; required on import.
Scope
xs:string
Specifies the scope for which the field template applies.
Optional on export; required on import.
Description
xs:string
Optional. Description of the field template.
Group
xs:string
Optional.

Child elements

Field Element (DeploymentManifest - DeploymentFieldTemplate)

Parent elements

SPObject Element (DeploymentManifest)

See also