Click to Rate and Give Feedback
MSDN
MSDN Library
Office Development
SDK Documentation
General Reference
 Portal (Portal Site Template)

  Switch on low bandwidth view
Community Content
In this section
Statistics Annotations (0)
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.

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
<?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>
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker