Export (0) Print
Expand All
Expand Minimize

View Element (DeploymentManifest)

Last modified: July 15, 2011

Applies to: SharePoint Foundation 2013 | SharePoint Server 2013

In this article
Type
Attributes
Child Elements
Parent Elements

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


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>

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.

Show:
© 2014 Microsoft