Share via


SP.Publishing.ScheduledItem.schedule Method (sp.publishing)

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

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

SP.Publishing.ScheduledItem.schedule(approvalComment)

Parameters

  • approvalComment
    Represents the comments to describe the transaction of the list item when it becomes a published version.