Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Rows Element

Rows Element (Site)

Last modified: July 15, 2011

Applies to: SharePoint Foundation 2013 | SharePoint Server 2013

In this article
Attributes
Child Elements
Parent Elements
Occurrences

Contains a collection of Row elements specifying default data for lists.


<Rows>
  <Row></Row>
  <Row></Row>
  ...
</Rows>

Attribute

Description

None

N/A

Minimum: 0

Maximum: 1

The Rows element is used within the Data element of a list definition to provide a set of default data when a list is instantiated during site provisioning.

The following example defines one row of fields for the welcome page.

<Data>
   <Rows>
      <Row>
         <Field Name="Title">Welcome to your new team Web site!</Field>
         <Field Name="Body">You can use this site to share information 
            with members of the site. To add a new announcement, click 
            "Add new announcement" below. This is a great way to 
            communicate news with your team.</Field>
         <Field Name="Expires"><ows:TodayISO/></Field>
      </Row>
   </Rows>
</Data>
Show:
© 2015 Microsoft