WebParts element (List)

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

Contains a collection of web parts in a form for a list definition or a list template.

<WebParts>
    <AllUsersWebPart
        WebPartOrder = Integer    
        WebPartZoneID = "Text">      <![CDATA[...]]>  
    </AllUsersWebPart>
</WebParts>

Elements and attributes

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

Attributes

None

Child elements

Parent elements

Occurrences

  • Minimum: 0
  • Maximum: 1

Remarks

For an example of how to use this element, see Creating Custom Form Templates.