SP.WebCreationInformation.url Property

Applies to: SharePoint Foundation 2010

In this article
Property Value
Applies To

Gets or sets the URL leaf name of the new site.

var value = SP.WebCreationInformation.get_url(); 
SP.WebCreationInformation.set_url(value);

Property Value

Type: String

Applies To

SP.WebCreationInformation Class

This property must not be null. The length of this property must be equal to or less than 128 characters.

This property must not contain consecutive "/" or "." characters. It must not begin with or end with "/" or "." characters. It must not contain the string "/wpresources". And it must not contain any of the following characters: ~"#%&\*:<>?\\{|}\x7F

See Also

Reference

SP.WebCreationInformation Methods

SP.WebCreationInformation Properties

SP Namespace