Share via


SP.Publishing.ScheduledItem object (sp.publishing)

Provides a wrapper that includes scheduling-specific behavior for items in the SP.ListItem object (sp.js) class.

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

var object = new SP.Publishing.ScheduledItem()

Members

The ScheduledItem object has the following members.

Methods

The ScheduledItem object has the following methods.

Method

Description

schedule

Schedules an instance of the SP.ListItem object (sp.js) class to be automatically approved (start) and to be unpublished (end) on specified dates.

Properties

The ScheduledItem object has the following properties.

Property

Description

endDate

Gets or sets the Coordinated Universal Time (UTC) at which this SP.Publishing.ScheduledItem object (sp.publishing) class ends and is no longer visible on the published site.

listItem

Gets the underlying SP.ListItem object (sp.js) object that is wrapped by the SP.Publishing.ScheduledItem object (sp.publishing) object.

startDate

Gets or sets the Coordinated Universal Time (UTC) at which this SP.Publishing.ScheduledItem object (sp.publishing) object becomes a visible part of the published Web site.

Constructor

The ScheduledItem object has the following constructor.

Constructor

Description

ScheduledItem

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