ViewData element (List)

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

Specifies data for use within a view.

<ViewData>
  <FieldRef Name = "Text" Type = "Text"/>
  ...
</ViewData>

Elements and attributes

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

Attributes

None

Child elements

Parent elements

Occurrences

  • Minimum: 0
  • Maximum: 1

See also