SP.Web Properties (sp.js)
The following table lists the properties of the SP.Web object (sp.js).
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
Properties
Property |
Description |
---|---|
Gets a value that specifies whether the current user is allowed to use a designer application to customize this site. |
|
Gets a value that specifies whether the current user is allowed to edit the master page. |
|
Gets a value that specifies whether the current user is allowed to revert the site to a default site template. |
|
Gets a value that specifies whether the site allows RSS feeds. |
|
Gets a collection of metadata for the Web site. |
|
The instance Id of the App Instance that this web represents. |
|
Gets or sets the group of users who have been given contribute permissions to the Web site. |
|
Gets or sets the associated owner group of the Web site. |
|
Gets or sets the associated visitor group of the Web site. |
|
Gets the collection of all content types that apply to the current scope, including those of the current Web site, as well as any parent Web sites. |
|
Gets a value that specifies the collection of all fields available for the current scope, including those of the current site, as well as any parent sites. |
|
Gets either the identifier (ID) of the site definition configuration that was used to create the site, or the ID of the site definition configuration from which the site template used to create the site was derived. |
|
Gets the collection of content types for the Web site. |
|
Gets a value that specifies when the site was created. |
|
Gets the current user of the site. |
|
Gets or sets the URL for a custom master page file to apply to the website. |
|
Gets or sets the description for the site. |
|
Determines if the Document Library Callout's WAC previewers are enabled or not. |
|
Gets a value that specifies the effective permissions that are assigned to the current user. |
|
Gets or sets a Boolean value that specifies whether the Web site should use Minimal Download Strategy. |
|
Gets the collection of event receiver definitions that are currently available on the website. |
|
Gets a value that specifies the collection of features that are currently activated in the site. |
|
Gets the collection of field objects that represents all the fields in the Web site. |
|
Gets the collection of all first-level folders in the Web site. |
|
Gets a value that specifies the site identifier for the site. |
|
Gets a value that specifies the LCID for the language that is used on the site. |
|
Gets a value that specifies when an item was last modified in the site. |
|
Gets the collection of all lists that are contained in the Web site available to the current user based on the permissions of the current user. |
|
Gets a value that specifies the collection of list definitions and list templates available for creating lists on the site. |
|
Gets or sets the URL of the master page that is used for the website. |
|
Gets a value that specifies the navigation structure on the site, including the Quick Launch area and the top navigation bar. |
|
Gets the parent website of the specified website. |
|
Gets the collection of push notification subscribers over the site. |
|
Gets or sets a value that specifies whether the Quick Launch area is enabled on the site. |
|
Specifies the collection of recycle bin items of the recycle bin of the site. |
|
Gets or sets a value that determines whether the recycle bin is enabled for the website. |
|
Gets the regional settings that are currently implemented on the website. |
|
Gets the collection of role definitions for the Web site. |
|
Gets the root folder for the Web site. |
|
Gets or sets a Boolean value that specifies whether the Web site can be saved as a site template. |
|
Gets or sets the server-relative URL for the Web site. |
|
Gets a value that specifies whether the current user is able to view the file system structure of this site. |
|
Gets the collection of groups for the site collection. |
|
Gets the UserInfo list of the site collection that contains the Web site. |
|
Gets the collection of all users that belong to the site collection. |
|
Specifies the language code identifiers (LCIDs) of the languages that are enabled for the site. |
|
Gets or sets a value that specifies whether the RSS feeds are enabled on the site. |
|
The theming information for this site. This includes information like colors, fonts, border radii sizes etc. |
|
Gets or sets the title for the Web site. |
|
Gets or sets value that specifies whether the tree view is enabled on the site. |
|
Gets or sets the user interface (UI) version of the Web site. |
|
Gets or sets a value that specifies whether the settings UI for visual upgrade is shown or hidden. |
|
Gets the absolute URL for the website. |
|
Gets a value that specifies the collection of user custom actions for the site. |
|
Gets a Web site collection object that represents all Web sites immediately beneath the Web site, excluding children of those Web sites. |
|
Gets the name of the site definition or site template that was used to create the site. |
|
Gets a value that specifies the collection of all workflow associations for the site. |
|
Gets a value that specifies the collection of workflow templates associated with the site. |