共用方式為


FieldTemplate Element (DeploymentManifest)

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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

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

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 Web site.

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

Concepts

DeploymentManifest Schema