Row element (Site)

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

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

<Row>
</Row>

Elements and attributes

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

Attributes

None

Child elements

Parent elements

Occurrences

  • Minimum: 0
  • Maximum: Unbounded

Example

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

<Data>
   <Rows>
      <Row>
         <Field Name="Title">Welcome to your new team website!</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>