SP.Publishing.PublishingWeb object (sp.publishing)

Provides publishing behavior for an SP.Web object (sp.js) instance that supports publishing.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var object = new SP.Publishing.PublishingWeb()

Members

The PublishingWeb object has the following members.

Methods

The PublishingWeb object has the following methods.

Method

Description

addPublishingPage

Creates a new SP.Publishing.PublishingPage object (sp.publishing) object in the PublishingWeb.

getPublishingWeb

Retrieves an instance of the SP.Publishing.PublishingWeb that wraps the specified SP.Web object (sp.js) object.

Properties

The PublishingWeb object has the following properties.

Property

Description

web

Gets the SP.Web object (sp.js) object that is wrapped by this SP.Publishing.PublishingWeb instance.

Constructor

The PublishingWeb object has the following constructor.

Constructor

Description

PublishingWeb

Initializes a new instance of the SP.Publishing.PublishingWeb object.