Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
SDK Documentation
General Reference
Reference
View Schema
Community Content
In this section
Statistics Annotations (19)
This page is specific to
The 2007 product release

Other versions are also available for the following:
View Schema

The View schema of Introduction to Collaborative Application Markup Language (CAML) is used to define the way in which list views are rendered in Windows SharePoint Services. A list view includes a query that returns the data that is displayed (see Query Schema).The view for a list is defined within a Schema.xml file that is located in Local_Drive:\Program Files\Common Files\Microsoft Shared\web server extenstions\12\TEMPLATE\FEATURES.

In SharePoint .aspx pages the view is conveyed through a Microsoft.SharePoint.WebPartPages.ListViewWebPart object. Views can be created or modified programmatically through the object model (for example, members of the SPView or SPViewCollection class), through the Views Web service (methods of the Views class), and through Remote Procedure Call (RPC) protocol (see Microsoft Windows SharePoint Services RPC Methods).

View Elements

The following elements are used to lay out the structure of a view.

View

  Aggregations

    FieldRef

  GroupByHeader

  GroupByFooter

  ViewHeader

  ViewBidiHeader

  ViewBody

  ViewFooter

  PagedRowset

  PagedClientCallbackRowset

  PagedRecurrenceRowset

  RowLimit

  RowLimitExceeded

  ViewEmpty

  Toolbar

  ViewFields

    FieldRef

  Query

    [see Query Schema]

  ViewData

    FieldRef

  ViewStyle

Specialized Rendering Elements

Specialized rendering elements are used within a view to define the logic for constructing HTML. These elements can contain numerous standard rendering elements.

ContentTypes

Fields

FieldSwitch

  Expr

  Case

  Default

ForEach

IfEqual

  Expr1

  Expr2

  Else

  Then

IfHasRights

  RightsChoices

    RightsGroup

  Else

  Then

IfNeg

  Expr1

  Expr2

IfNew

IfSubString

  Expr1

  Expr2

  Else

  Then

Limit

  Column

  More

  Text

Length

MapToAll

MapToControl

MapToIcon

Method

  SetList

  SetVar

SelectionOptions

Switch

  Expr

  Case

  Default

Standard Rendering Elements

See Also

Other Resources

Query Schema
List Schema

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker