Export (0) Print
Expand All

Createweb: Stsadm operation (Office SharePoint Server)

Office 2007

Updated: February 7, 2008

Applies To: Office SharePoint Server 2007

 

Topic Last Modified: 2008-02-15

Creates a subsite at the specified Uniform Resource Locator (URL).

stsadm -o createweb

   -url <URL name>

   [-lcid <language>]

   [-sitetemplate <site template>]

   [-title <site title>]

   [-description <site description>]

   [-convert]

   [-unique]

 

Parameter name and (short form)

Value

Required?

Description

url

A valid URL name, such as http://server_name/sites/site_name/subsite_name

Yes

The URL where the subsite should be created. This should be a path below an existing site collection or subsite.

lcid

A valid locale ID, such as "1033" for English

No

The language that should be used when creating the site.

NoteNote:
You must specify this parameter when using a language other than the install language of the SharePoint template.
NoteNote:
Confirm the appropriate language template pack is installed before attempting to create a site in a language other than that specified at installation.
For additional information about language packs, see Install available language template packs (Office SharePoint Server)

sitetemplate (st)

Valid values available in a default installation include:

  • STS#0: Team Site

  • STS#1: Blank Site

  • STS#2: Document Workspace

  • MPS#0: Basic Meeting Workspace

  • MPS#1: Blank Meeting Workspace

  • MPS#2: Decision Meeting Workspace

  • MPS#3: Social Meeting Workspace

  • MPS#4: Multipage Meeting Workspace

  • BLOG#0: Blog

  • WIKI#0: Wiki Site

    NoteNote:
    If you added a template to the central template gallery, you must specify the template name as _GLOBAL_#number, where number refers to the template ID.

No

Specifies the type of template to be used by the newly created site.

If you do not specify a template to use, the owner can choose a template when he or she first browses to the site.

The value must be in the form name#configuration. If you do not specify the configuration, (for example, STS) configuration 0 is the default (for example, STS#0).

The list of available templates can be customized to include templates you create. To display a list of custom templates, use the Enumtemplates operation.

title (t)

A valid title

NoteNote:
The title can contains a space provided it is enclosed within quotation marks, for example, "New Site".

No

The title of the new subsite.

The maximum length is 255 characters.

description (desc)

A valid text string, such as "This is a description"

No

Description of the new subsite.

convert (cvt)

<none>

No

If you include the convert parameter and there is an existing folder at the URL for the new subsite, then Microsoft Office SharePoint Server 2007 will convert that folder to become a subsite.

If you do not include the convert parameter and there is an existing folder at the URL for the new subsite, then the following error message is displayed: "The URL path with the specified site name already exists."

unique

<none>

No

Specifies whether the site has unique permissions instead of inheriting them from the parent.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft