WebPart Element (Site)

Last modified: July 15, 2011

Applies to: SharePoint Foundation 2013 | SharePoint Server 2013

In this article
Attributes
Child Elements
Parent Elements
Occurrences

The introduction is required.

<WebPart  AllUsers = "Text"  Assembly = "Text"  Cache = "Text"  Class = "Text"  DisplayName = "Text"  Flags = "Text"  FrameState = "Integer"  IsIncluded = "TRUE" | "FALSE"  List = "Text"  PerUser = "Text"  SolutionId = "Text"  Src = "Text"  Type = "Integer"  Url = "Text"  Version = "Text"  WebPartIdProperty = "Text"  WPTypeId = "Text"></WebPart>

Attribute

Description

AllUsers

Optional Text.

Assembly

Optional Text.

Cache

Optional Text.

Class

Optional Text.

DisplayName

Optional Text.

Flags

Optional Text.

FrameState

Optional Integer.

IsIncluded

Optional Boolean.

List

Optional Text.

PerUser

Optional Text.

SolutionId

Optional Text.

Src

Optional Text.

Type

Optional Integer.

Url

Optional Text.

Version

Optional Text.

WebPartIdProperty

Optional Text.

WPTypeId

Optional Text.

Minimum: 1

Maximum: Unbounded

Show:
© 2015 Microsoft