# Create SharePoint site collection

Source: [https://docs.virtosoftware.com/docs/virto-workflow-automation-web-part/virto-sharepoint-workflow-activities-kit-sharepoint-2010-workflow-platform/sp-site-management/sp-site-collection/](https://docs.virtosoftware.com/docs/virto-workflow-automation-web-part/virto-sharepoint-workflow-activities-kit-sharepoint-2010-workflow-platform/sp-site-management/sp-site-collection/)
Product: Virto Workflow Automation Web Part
Updated: 2026-08-12


This activity creates a new top-level web site in the current web application.

![Create SharePoint site collection activity in the SharePoint Workflow Designer](https://img-docs.virtosoftware.com/wp-content/uploads/2024/10/create_sharepoint_site_collection_1.png)

***Note**: By defining managed paths, you can specify which paths in the URL namespace of a web application are used for site collections. You can specify that either one site collection or multiple site collections exist at a specified path. For example, an explicit path of "hr" indicates that the URL http://server/hr is a site collection, whereas a wildcard path of "sites" indicates that child URLs of http://server/sites/, such as http://server/sites/team, are site collections. To add a new URL path, go to the Define Managed Paths page (Central Administration > Application Management > Define Managed Paths).*

## **SharePoint Workflow Designer Phrase**

Create a new site collection titled **this title** at **this url**, using **this template**, with description **this description**. Site collection administrator: **primary** and **secondary**.

## **Parameters**


| Parameter | Description |
|---|---|
| this title | The title of the new site. The maximum length is 255 characters. |
| this URL | The complete URL where the site should be created, e.g., `http://server01/sites/MySitex`. To add a new URL path, go to the Define Managed Paths page (Central Administration &gt; Application Management &gt; Define Managed Paths). |
| this template | **Optional**. Specifies the type of template to be used by the newly created site. If you do not specify a template, the owner can choose one when first browsing to the site. The value may be in one of the following forms:; - name#configuration (e.g., STS#0). If configuration is not specified, configuration 0 is the default.; - Template title from Site Template Gallery (e.g., “Example template”).; - Template file name from Site Template Gallery (e.g., ExampleTemplate.stp). |
| this description | **Optional**. Description of the new site. |
| Primary | Specify the administrator for this web site collection. |
| Secondary | **Optional.** Specify the secondary administrator for this web site collection. |


**Note**: The template should be uploaded to the Site Template Gallery (see instructions below) or added to the global templates list using the STSADM -o AddTemplate command (see [Microsoft documentation](https://learn.microsoft.com/en-us/previous-versions/office/sharepoint-2007-products-and-technologies/cc287945(v=office.12)?redirectedfrom=MSDN)).

**Valid Values 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

## **Upload and Use a Site Template (.stp) in SharePoint**

1. Log on to SharePoint as an administrator for the site collection where you want to upload the template. Make sure to browse to the top-level site of the site collection.
2. Click the **Site Actions** button → **Site Settings** → **Modify All Site Settings**.
3. In the Galleries section, select **Site templates**.
4. On the Site Template Gallery page, select **Upload** or **Upload multiple documents**.
5. On the Upload Template: Site Template Gallery page, browse to the .stp file and click **OK** to upload the file.

You have now successfully uploaded the template and are ready to use it.

**Enumerate All Site Templates with PowerShell**

![PowerShell command enumerating all available SharePoint site templates](https://img-docs.virtosoftware.com/wp-content/uploads/2024/10/create_sharepoint_site_collection_2.png)
