Export (0) Print
Expand All
Expand Minimize

FieldRef Element (DeploymentManifest - SPFieldLinkCollection)

Last modified: July 15, 2011

Applies to: SharePoint Foundation 2013 | SharePoint Server 2013

In this article
Type
Attributes
Child Elements
Parent Elements

Represents field data to display in a view.


DECLARATION
<xs:element name="FieldRef" 
        type="SPFieldLink" 
        minOccurs="0" maxOccurs="unbounded" 
/>

USAGE
<ViewFields>
        <FieldRef
                Name="xs:string"
                ID="Guid"
                Customization="xs:string"
                Default="xs:string"
                ColName="xs:string"
                ColName2="xs:string"
                RowOrdinal="xs:int"
                RowOrdinal2="xs:int"
                Hidden="TRUEFALSE"
                Required="TRUEFALSE"
                Explicit="xs:string"
                ShowInNewForm="xs:string"
                ShowInEditForm="xs:string"
                DisplayName="xs:string"
                Node="xs:string"
        />
</ViewFields>

Attribute

Type

Description

Name

xs:string

Optional. Name of the field referenced.

ID

Guid Simple Type (DeploymentManifest)

Optional. Unique identifier of the field referenced.

Customization

xs:string

Optional.

Default

xs:string

Optional. Default value for the field referenced.

ColName

xs:string

Optional. Display name for the column representing the field referenced.

ColName2

xs:string

Optional.

RowOrdinal

xs:int

Optional.

RowOrdinal2

xs:int

Optional.

Hidden

TRUEFALSE Simple Type (DeploymentManifest)

Optional. Specifies that the field value is hidden in the user interface.

Required

TRUEFALSE Simple Type (DeploymentManifest)

Optional. Specifies that the field requires a value.

Explicit

xs:string

Optional.

ShowInNewForm

xs:string

Optional.

ShowInEditForm

xs:string

Optional.

DisplayName

xs:string

Optional. Name shown in the user interface for the field referenced.

Node

xs:string

Optional.

Show:
© 2014 Microsoft