Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Portal (Portal Site Template)
Collapse the table of content
Expand the table of content

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:
© 2015 Microsoft