Export (0) Print
Expand All

Portal (Portal Site Template)

SharePoint 2007

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.

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.

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>

Community Additions

ADD
Show:
© 2014 Microsoft