AllUsersWebPart element (Site)

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

Contains a web part in a module of a site definition.

<AllUsersWebPart
  ID = "Text"    WebPartOrder = "Integer"
  WebPartZoneID = "Text">
</AllUsersWebPart>

Elements and attributes

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

Attributes

Attribute Description
ID
Optional Text.
WebPartOrder
Optional Integer. Specifies the vertical positioning of the web part within a zone.
WebPartZoneID
Optional Text. Specifies the zone for the web part.

Child elements

None

Parent elements

Occurrences

  • Minimum: 0
  • Maximum: Unbounded

Remarks

For an example that uses the AllUsersWebPart element, see Module element (Site).