Web (Portal Site Template)

Specifies a site definition by name.

Portal (Portal Site Template)

  Web (Portal Site Template)

    Webs (Portal Site Template)

      Web (Portal Site Template)

<web name="PressReleases" siteDefinition="BLANKINTERNET#1" displayName="Press Releases" description="" />

Attributes and Elements

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

Attributes

Attribute Description

name

A string representing the name of the Web site.

siteDefinition

The name of the site definition in the format Name#ID, for example, BLANKINTERNET#0.

Must match the Name of a Template in the Webtemp*.xml File and the ID of a Configuration within that Template.

displayName

A string representing the display name of the Web site.

description

A string that describes the Web site.

Child Elements

Element Description

Webs

Contains Web elements for this Web site and all its siblings.

Parent Elements

Element Description

Webs

Contains Web elements for subsites of this Web site.

Portal

The portal definition that contains this Web site.

See Also

Tasks

How to: Define a Portal Site Template

Concepts

Portal Site Template File