No Results
Search Tips:
- Please consider misspellings
- Try different search keywords
Newer Version Available
scheduleForPublication(String, Datetime)
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
1String articleId = 'Insert article ID';
2Datetime scheduledDate = Datetime.newInstanceGmt(2012, 12,1,13,30,0);
3KbManagement.PublishingService.scheduleForPublication(articleId, scheduledDate);