No Results
Search Tips:
- Please consider misspellings
- Try different search keywords
Newer Version Available
restoreOldVersion(String, Integer)
Creates a draft article from an existing online article
based on the specified archived version of the article and returns
the article version ID.
Signature
public static String restoreOldVersion(String articleId, Integer versionNumber)
Parameters
- articleId
- Type: String
- versionNumber
- Type: Integer
Return Value
Type: String
Example
1String articleId = 'Insert article ID';
2String id = KbManagement.PublishingService.restoreOldVersion (articleId, 1);