Portal (Portal Site Template)
This file contains a description of the site hierarchy that is created when the site is provisioned. It contains one Web element for the top-level Web site.
Portal Site Template File
Web (Portal Site Template)
Webs (Portal Site Template)
Web (Portal Site Template)
<portal xmlns="PortalTemplate.xsd"> </portal>
The following sections describe attributes, child elements, and parent elements.
Attribute | Description |
---|---|
xmlns |
Specifies the namespace of which this portal is a member. |
Element | Description |
---|---|
Web |
Specifies a site definition by name. |
None.
The following code shows an example of a portal site template file with two Web sites, one a subsite of the other.
<?xml version="1.0" encoding="utf-8" ?>
<portal xmlns="PortalTemplate.xsd">
<web name="InternetBlankHome" siteDefinition="BLANKINTERNET#0"
displayName="Home" description="">
<webs>
<web name="PressReleases" siteDefinition="BLANKINTERNET#1"
displayName="Press Releases" description="" />
</webs>
</web>
</portal>