Return to doc.sitecore.com

Valid for Sitecore 5.2, 5.1.1
  GetPublishQueue
Prev Next

GetPublishQueue returns the items in the publishing queue with dates between the given from and to dates.

ID[] GetPublishQueue(
  DateTime from,
  DateTime to,
  CallContext context
)

Sitecore calls GetPublishQueue during a publish operation.  The method must return IDs of all items set to be published within the given range of dates.  Note that the range is inclusive.  That is, the method must include items that satisfy “from <= date <= to”.


Prev Next