Script Element (DeploymentManifest - SPWebPart)

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Represents script to execute on deployment of an instance of a Web Part (WebPart) object.

DECLARATION
<xs:element name="Script" minOccurs="0" maxOccurs="1" />

USAGE
<WebPart>
        <Script />
</WebPart>

Type

xs:string

Attributes

Attribute

Type

Description

None

Child Elements

None

Parent Elements

WebPart Element (DeploymentManifest)

Remarks

Web Parts can derive from either of two base classes - an ASP.NET Web Part (WebPart), or a Windows SharePoint Services Web Part (WebPart)

See Also

Reference

WebPart

Concepts

DeploymentManifest Schema