Newer Version Available

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

submitForTranslation(articleId, language, assigneeId, dueDate)

Submits an article for translation to the specified language. Also assigns the specified user and due date to the submittal and returns new ID of the draft translation.

Signature

public static String submitForTranslation(String articleId, String language, String assigneeId, Datetime dueDate)

Parameters

articleId
Type: String
language
Type: String
assigneeId
Type: String
dueDate
Type: Datetime

Return Value

Type: String

Example

1String articleId = 'Insert article ID';
2String language = 'fr';
3String assigneeId = 'Insert assignee ID';
4Datetime dueDate = Datetime.newInstanceGmt(2012, 12,1);
5String id = KbManagement.PublishingService.submitForTranslation(articleId, language, assigneeId, dueDate);