Users can write, publish, archive, and manage articles using Apex in addition to the Salesforce user interface.
Use the methods in the
KbManagement.PublishingService class to manage the following parts of the lifecycle of an article
and its translations:
- Publishing
- Updating
- Retrieving
- Deleting
- Submitting for translation
- Setting a translation to complete or incomplete status
- Archiving
- Assigning review tasks for draft articles or translations
To use the methods
in this class, you must enable
Salesforce Knowledge. See
Salesforce
Knowledge Implementation Guide for more information on setting
up
Salesforce Knowledge.