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
Information | Location |
---|---|
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 |
---|---|---|
Child elements
Element |
Type |
Description |
---|---|---|
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. |