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>

Attributes and Elements

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

Attributes

Attribute Description

xmlns

Specifies the namespace of which this portal is a member.

Child Elements

Element Description

Web

Specifies a site definition by name.

Parent Elements

None.

Example

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>

See Also

Tasks

How to: Define a Portal Site Template

Concepts

Portal Site Template File