Newer Version Available

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

editPublishedTranslation(articleId, language, unpublish)

Creates a draft version of the online translation for a specific language and returns the new draft primary version ID of the article. Also, unpublishes the article, if set to true.

Signature

public static String editPublishedTranslation(String articleId, String language, Boolean unpublish)

Parameters

articleId
Type: String
language
Type: String
unpublish
Type: Boolean

Return Value

Type: String

Example

1String articleId = 'Insert article ID';
2String language = 'fr';
3String id = KbManagement.PublishingService.editPublishedTranslation(articleId, language, true);