RootObject Element (DeploymentRootObjectMap)

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

Represents an instance of a root object in a root object map exported to the content migration package.

Definition

DECLARATION
<xs:element
    name="RootObject" type="SPRootObject"
    minOccurs="0" maxOccurs="unbounded"
/>
USAGE
<RootObjects>
    <RootObject
        Id="Guid"
        Type="SPDeploymentObjectType"
        ParentId="Guid"
        WebUrl="xs:string"
        Url="xs:string"
        IsDependency="xs:boolean"
    />
</RootObjects>

Type

SPRootObject

Elements and attributes

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

Attributes

Attribute Type Description
Id
Guid Simple Type (DeploymentRootObjectMap))
Optional. Unique identifier of the root object.
Type
SPDeploymentObjectType Simple Type (DeploymentRootObjectMap)
Optional. Specifies the object type of the root object: Site, Web, Folder, List, ListItem, or File.
ParentId
Guid Simple Type (DeploymentRootObjectMap))
Optional. Unique identifier of the parent Web.
WebUrl
xs:string
Optional. URL to the parent website.
Url
xs:string
Optional. URL to the root object.
IsDependency
xs:boolean
Optional. Specifies whether the object is a dependent object. The value is true if the object is dependent; otherwise, false.

Child elements

None

Parent elements

RootObjects Element (DeploymentRootObjectMap)

See also