Module Element (DeploymentManifest)

Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013

Represents an instance of a SharePoint module (SPModule) object, providing a collection of files and views that are used in a site template.

Definition

DECLARATION
<xs:element name="Module" type="SPModule" />

USAGE
<SPObject>
   <Module
      <Properties />
         Enabled="xs:boolean"
         Name="xs:string"
         ParentWeb="xs:string"
         Url="xs:string"
   />
</SPObject>

Type

SPModule object.

Elements and attributes

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute Type Description
Enabled
xs:boolean
Optional. Specifies whether the module is enabled for the site.
Name
xs:string
Optional. Represents the name of the module.
ParentWeb
xs:string
Optional. Specifies the parent website.
Url
xs:string
Optional. Specifies the server-relative URL for the module.

Child elements

Properties Element (DeploymentManifest - SPModule)

Parent elements

SPObject Element (DeploymentManifest)

See also