다음을 통해 공유


View 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 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>

Type

SPView object.

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

Script Element (DeploymentManifest - SPView)

PagedRowset Element (DeploymentManifest - SPView)

PagedClientCallbackRowset Element (DeploymentManifest - SPView)

PagedRecurrenceRowset Element (DeploymentManifest - SPView)

ViewFields Element (DeploymentManifest - SPView)

ViewData Element (DeploymentManifest - SPView)

Query Element (DeploymentManifest - SPView)

RowLimit Element (DeploymentManifest - SPView)

RowLimitExceeded Element (DeploymentManifest - SPView)

Toolbar Element (DeploymentManifest - SPView)

Formats Element (DeploymentManifest - SPView)

Aggregations Element (Deployment Manifest - SPView)

ViewStyle Element (DeploymentManifest - SPView)

View Body Element (DeploymentManifest - SPView)

ViewEmpty Element (DeploymentManifest - SPView)

ViewFooter Element (DeploymentManifest - SPView)

ViewHeader Element (DeploymentManifest - SPView)

ViewBidiHeader Element (DeploymentManifest - SPView)

GroupByFooter Element (DeploymentManifest - SPView)

GroupByHeader (DeploymentManifest - SPView)

CalendarViewStyles Element (DeploymentManifest - SPView)

ListFormBody Element (DeploymentManifest - SPView)

Parent Elements

Views Element (DeploymentManifest)

See Also

Reference

SPView

Concepts

DeploymentManifest Schema