---
schema_version: "1"
id: 39b3fae2a6e27b2ee720e7d6d2a7bbe037d4faf4ce42564b457aa4a8cbe9adba
title: Knowledge Management
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexcode/apex_forcecom_kbmanagement.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_forcecom_kbmanagement.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: c83e0c83bfeaf5e14e4feb57c72e02adfa333773b3354d09b03b3e2082c07b09
description: Users can write, publish, archive, and manage articles using Apex in addition to the Salesforce user interface.
---
# Knowledge Management

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

![Note](https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/images/icon_note.png)

#### Note

Date values are based on GMT.

To use the methods in this class, you must enable Salesforce Knowledge.

#### See Also

- [_Apex Reference Guide_: PublishingService Class](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexref.meta/apexref/apex_classes_knowledge_kbManagement.htm "Apex Reference Guide: PublishingService Class - HTML (New Window)")