Rediger

ClientWebPartProperty complexType

Important

SharePoint Add-ins reached end of life in SharePoint Online on April 2, 2026. Both SharePoint-hosted and provider-hosted Add-ins are retired and no longer work in SharePoint Online, including government clouds. Add-in development, deployment, and usage guidance is retained for historical reference and for applicable SharePoint Server scenarios, not for new SharePoint Online solutions.

SharePoint Server Add-ins deployed through an on-premises app catalog are not retired by this change. Acquiring SharePoint Add-ins from the public marketplace ended on April 2, 2026 for SharePoint Server.

This retirement does not retire SharePoint REST APIs, CSOM, JSOM, or SharePoint Framework (SPFx). For SharePoint Online, use SPFx for user interface extensions and Microsoft Entra ID for authentication to external applications. See the retirement announcement and Add-in migration guidance.

(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.

Type information

Information Location
Namespace http://schemas.microsoft.com/sharepoint/
Schema File apphostwebfeatures.xsd
Extension Base None

Definition

    <xs:complexType name="ClientWebPartProperty">
        <xs:all>
            <xs:element name="EnumItems" type="ClientWebPartEnumItems" minOccurs="0" maxOccurs="1"></xs:element>
        </xs:all>
        <xs:attribute name="Name" type="xs:string" use="required" />
        <xs:attribute name="Type" type="ClientWebPartPropertyType" use="required" />
        <xs:attribute name="RequiresDesignerPermission" type="xs:boolean" use="required" />
        <xs:attribute name="DefaultValue" type="xs:string" use="required" />
        <xs:attribute name="PersonalizationScope" type="WebPartPersonalizationScope" use="optional" />
        <xs:attribute name="PersonalizableIsSensitive" type="xs:boolean" use="optional" />
        <xs:attribute name="WebBrowsable" type="xs:boolean" use="optional" />
        <xs:attribute name="WebDisplayName" type="xs:string" use="optional" />
        <xs:attribute name="WebDescription" type="xs:string" use="optional" />
        <xs:attribute name="WebCategory" type="xs:string" use="optional" />
        <xs:attribute name="ManagedLinkFixup" type="xs:boolean" use="optional" />
        <xs:attribute name="ManagedLinkConvertServerLinksToRelative" type="xs:boolean" use="optional" />
        <xs:attribute name="Multilingual" type="xs:boolean" use="optional" />
    </xs:complexType>

Elements and attributes

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

Child elements

Element

Type

Description

EnumItems

ClientWebPartEnumItems


Attributes

Attribute Type Required Description Possible values
DefaultValue xs:string required Values of the xs:string type.
ManagedLinkConvertServerLinksToRelative xs:boolean optional Values of the xs:boolean type.
ManagedLinkFixup xs:boolean optional Values of the xs:boolean type.
Multilingual xs:boolean optional Values of the xs:boolean type.
Name xs:string required Values of the xs:string type.
PersonalizableIsSensitive xs:boolean optional Values of the xs:boolean type.
PersonalizationScope WebPartPersonalizationScope optional Values of the WebPartPersonalizationScope type.
RequiresDesignerPermission xs:boolean required Values of the xs:boolean type.
Type ClientWebPartPropertyType required Values of the ClientWebPartPropertyType type.
WebBrowsable xs:boolean optional Values of the xs:boolean type.
WebCategory xs:string optional Values of the xs:string type.
WebDescription xs:string optional Values of the xs:string type.
WebDisplayName xs:string optional Values of the xs:string type.