2.5.1.2 Create a Site
This use case describes how a client application creates a new site. The client application specifies a site definition or site template to use when creating the new site.
The following diagram illustrates this process.
Figure 4: Process for creating a site
Preconditions
The client application can communicate with the SharePoint site collection.
The client application has been authenticated as a member of the Site Owner group (1).
Steps
The client application requests a list (1) of available site definitions and site templates from the server.
The server returns the list (1) of available site definitions and site templates.
The client application selects a Web template and specifies the URL, title, and description for the site.
The client application calls the method to create a new site using the specified information.
The server creates a site with the specified information.
Error
If the specified URL is invalid or already in use, the server will not create a new site.
Post-conditions
A site is created at the URL that was specified by the client application.
The site is not created, because the specified URL is invalid or already in use.