Row Element

The Row element is used in the Data section of a list template to provide a set of default data when a list template is instantiated during site provisioning.

Syntax

<Row>
</Row>
Parent Elements Child Elements
Rows Field, RenderPattern

Example

The following excerpt from the end of SCHEMA.XML for announcements (Program Files/Common Files/Microsoft Shared/web server extensions/50/Templates/1033/Layouts/Announce folder) defines one row of fields for a 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" above. This is a great way to communicate news with your team.
      </Field>
      <Field Name="Author"><ows:UserID/></Field>
      <Field Name="Editor"><ows:UserID/></Field>
      <Field Name="owshiddenversion">0</Field> 
      <Field Name="Expires"><ows:TodayISO/></Field>
    </Row>
  </Rows>
</Data>