View Element (DeploymentManifest)

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

Represents an instance of a Windows SharePoint Services 3.0 view (SPView) object.

Definition

DECLARATION
<xs:element name="View" type="SPView" minOccurs="0" maxOccurs="unbounded" />

USAGE
<Views>
        <View>
        <xs:choice minOccurs="0" maxOccurs="25">
                <xs:element name="Script" />
                <xs:element name="PagedRowset" />
                <xs:element name="PagedClientCallbackRowset" />
                <xs:element name="PagedRecurrenceRowset" />
                <xs:element name="ViewFields" />
                <xs:element name="ViewData" />
                <xs:element name="Query" />
                <xs:element name="RowLimit" />
                <xs:element name="RowLimitExceeded" />
                <xs:element name="Toolbar" />
                <xs:element name="Formats" />
                <xs:element name="Aggregations" />
                <xs:element name="ViewStyle" />
                <xs:element name="ViewBody" />
                <xs:element name="ViewEmpty" />
                <xs:element name="ViewFooter" />
                <xs:element name="ViewHeader" />
                <xs:element name="ViewBidiHeader" />
                <xs:element name="GroupByFooter" />
                <xs:element name="GroupByHeader" />
                <xs:element name="CalendarViewStyles" />
                <xs:element name="ListFormBody" />
        </xs:choice>
        <xs:attribute name="Name" />
        <xs:attribute name="DefaultView" />
        <xs:attribute name="Type" />
        <xs:attribute name="Hidden" />
        <xs:attribute name="Threaded" />
        <xs:attribute name="FPModified" />
        <xs:attribute name="ReadOnly" />
        <xs:attribute name="Scope" />
        <xs:attribute name="RecurrenceRowset" />
        <xs:attribute name="ModerationType" />
        <xs:attribute name="Personal" />
        <xs:attribute name="OrderedView" />
        <xs:attribute name="DisplayName" />
        <xs:attribute name="ContentTypeId" />
        <xs:attribute name="Url" />
        <xs:attribute name="BaseViewID" />
        <xs:attribute name="WebPartZoneID" />
        </View>
</Views>

Type

SPView object

Elements and attributes

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

Attributes

Attribute Type Description
BaseViewID
xs:string
Optional. Represents the ID of the base view for the view.
ContentTypeId
xs:string
Optional. Represents the ID of a content type that is associated with the view.
DefaultView
xs:boolean
Optional. Specifies whether the view is the default view.
DisplayName
xs:string
Optional. Represents the display name of the view.
FPModified
xs:boolean
Optional. Specifies whether the view was modified in an HTML editor.
Hidden
xs:boolean
Optional. Specifies whether the view is hidden.
ModerationType
xs:string
Optional.Represents the Content Approval type for the view.
Name
Guid Simple Type (DeploymentManifest)
Optional. Unique identifier of the view.
OrderedView
xs:boolean
Optional. Specifies whether the user can reorder items through the user interface.
Personal
xs:boolean
Optional. Specifies whether the view is personalized.
ReadOnly
xs:boolean
Optional. Specifies whether the view is read-only.
RecurrenceRowset
xs:boolean
Optional. Specifies whether the view supports recurrence rowsets.
Scope
SPViewScope Simple Type (DeploymentManifest)
Optional. Sets the recursive scope for the view of a document library.
Threaded
xs:boolean
Optional. Specifies whether the view is threaded.
Type
xs:string
Optional. Represetns the type of the view.
Url
xs:string
Optional. Represents the site-relative URL of the page that contains the view.
WebPartZoneID
xs:string
Optional. Identifier of the web part zone in which the view is sited.

Child elements

Parent elements

See also