Newer Version Available

This content describes an older version of this product. View Latest

scheduleForPublication(articleId, scheduledDate)

Schedules the article for publication as a major version. If the specified date is null, the article is published immediately.

Signature

public static Void scheduleForPublication(String articleId, Datetime scheduledDate)

Parameters

articleId
Type: String
scheduledDate
Type: Datetime

Return Value

Type: Void

Example