---
schema_version: "1"
id: 89efc942349addd4ce5142e80dc365e48b4f0bb013ac1b5045b8c6796e6639a8
title: PublishingService Class
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/service-cloud/knowledge/guides/apex-classes-knowledge-kbmanagement.md
canonical_url: https://developer.salesforce.com/docs/service/salesforce-knowledge-dev-guide/guide/apex-classes-knowledge-kbmanagement.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 65b3e80869dc28a73bc423d2204fff3cd839bd119d94128c7b36ace62829d1b9
products:
  - Salesforce Knowledge Developer Guide
  - Service Cloud Developer Content
---

# PublishingService Class

Use the methods in the `KbManagement.PublishingService` class to manage the lifecycle of an article and its translations.

## Namespace

The `KbManagement` namespace provides a class for managing knowledge articles.

## Usage

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:** Date values are based on GMT.

To use the methods in this class, you must enable Salesforce Knowledge.
