ClientWebPart element (ElementDefinitionCollection complexType)

(AppHostWebFeatures)

Note

The string app appears as part of or all of some element, attribute, and file names because SharePoint Add-ins were originally called "apps for SharePoint." To ensure backward compatibility, the schemas have not been changed.

Element information

Element type ClientWebPartDefinition
Namespace http://schemas.microsoft.com/sharepoint/
Schema file apphostwebfeatures.xsd

Definition

    <xs:element name="ClientWebPart" type="ClientWebPartDefinition"></xs:element>

Elements and attributes

If the schema defines specific requirements, such as sequence, minOccurs, maxOccurs, and choice, see the definition section.

Parent elements

Element

Type

Description

Elements

ElementDefinitionCollection


Child elements

Element

Type

Description

Content

ClientWebPartDefinitionContent

Properties

ClientWebPartProperties


Attributes

Attribute

Type

Required

Description

Possible values

DefaultHeight

xs:int

optional

Values of the xs:int type.

DefaultWidth

xs:int

optional

Values of the xs:int type.

Description

xs:string

optional

Values of the xs:string type.

**Name**

xs:string

required

Values of the xs:string type.

Title

xs:string

optional

Values of the xs:string type.