IODataWeb interface

Represents an OData SP.Web object. For more information about this object see the MSDN documentation here: https://msdn.microsoft.com/en-us/library/office/jj860569.aspx

Properties

Created

Gets a value that specifies when the site was created.

Example: "/Date(2016,0,20,12,58,7,0)/"

CurrentChangeToken

Represents the unique sequential location of a change within the change log.

CustomMasterUrl

Gets or sets the URL for a custom master page file to apply to the website.

Example: "/sites/PubSite/_catalogs/masterpage/seattle.master"

Description

Gets or sets the description for the site.

Id

Gets a value that specifies the site identifier for the site.

Example: "/Guid(92ea328e-9f50-49a6-9da5-2f2dd5577041)/"

IsMultilingual

Value that represents if the web was

Language

Gets a value that specifies the LCID for the language that is used on the site.

Example: 1033

LastItemModifiedDate

Gets a value that specifies when an item was last modified in the site.

Example: "/Date(1453618828000)/"

MasterUrl

Gets or sets the URL of the master page that is used for the website.

Example: "/sites/PubSite/_catalogs/masterpage/seattle.master"

NoCrawl

Determines if a particular web will be crawled by search or not.

QuickLaunchEnabled

Gets or sets a value that specifies whether the Quick Launch area is enabled on the site.

RecycleBinEnabled

Gets or sets a value that determines whether the recycle bin is enabled for the website.

ServerRelativeUrl

Gets or sets the server-relative URL for the Web site.

Example: "/sites/PubSite"

SiteLogoUrl

Gets the url for the logo of this particular site.

Title

The title of the web.

UIVersion

Gets or sets the user interface (UI) version of the Web site.

Example: 15

Url

Gets the absolute URL for the website.

Example: "http://example.com/sites/PubSite"

WebTemplate

Gets the name of the site definition or site template that was used to create the site.

Example: "BLANKINTERNET"

Property Details

Created

Gets a value that specifies when the site was created.

Example: "/Date(2016,0,20,12,58,7,0)/"

Created?: string;

Property Value

string

CurrentChangeToken

Represents the unique sequential location of a change within the change log.

CurrentChangeToken?: IODataChangeToken;

Property Value

CustomMasterUrl

Gets or sets the URL for a custom master page file to apply to the website.

Example: "/sites/PubSite/_catalogs/masterpage/seattle.master"

CustomMasterUrl?: string;

Property Value

string

Description

Gets or sets the description for the site.

Description?: string;

Property Value

string

Id

Gets a value that specifies the site identifier for the site.

Example: "/Guid(92ea328e-9f50-49a6-9da5-2f2dd5577041)/"

Id?: string;

Property Value

string

IsMultilingual

Value that represents if the web was

IsMultilingual?: boolean;

Property Value

boolean

Language

Gets a value that specifies the LCID for the language that is used on the site.

Example: 1033

Language?: number;

Property Value

number

LastItemModifiedDate

Gets a value that specifies when an item was last modified in the site.

Example: "/Date(1453618828000)/"

LastItemModifiedDate?: string;

Property Value

string

MasterUrl

Gets or sets the URL of the master page that is used for the website.

Example: "/sites/PubSite/_catalogs/masterpage/seattle.master"

MasterUrl?: string;

Property Value

string

NoCrawl

Determines if a particular web will be crawled by search or not.

NoCrawl?: boolean;

Property Value

boolean

QuickLaunchEnabled

Gets or sets a value that specifies whether the Quick Launch area is enabled on the site.

QuickLaunchEnabled?: boolean;

Property Value

boolean

RecycleBinEnabled

Gets or sets a value that determines whether the recycle bin is enabled for the website.

RecycleBinEnabled?: boolean;

Property Value

boolean

ServerRelativeUrl

Gets or sets the server-relative URL for the Web site.

Example: "/sites/PubSite"

ServerRelativeUrl?: string;

Property Value

string

SiteLogoUrl

Gets the url for the logo of this particular site.

SiteLogoUrl?: string;

Property Value

string

Title

The title of the web.

Title?: string;

Property Value

string

UIVersion

Gets or sets the user interface (UI) version of the Web site.

Example: 15

UIVersion?: number;

Property Value

number

Url

Gets the absolute URL for the website.

Example: "http://example.com/sites/PubSite"

Url?: string;

Property Value

string

WebTemplate

Gets the name of the site definition or site template that was used to create the site.

Example: "BLANKINTERNET"

WebTemplate?: string;

Property Value

string