# What is Salesforce Knowledge and how does it empower support organizations?

**Topic:** Service Cloud · **Difficulty:** Medium · **Tags:** Service Cloud, Knowledge Management, Overview

Read it on the site: https://www.forcechallenges.com/interview-questions/what-is-salesforce-knowledge-and-how-does-it-empower-support-organizations

## Answer

**Basics:** Agents solve the same problems repeatedly. Knowledge captures the answer once, so it can be searched and attached to cases. Customers can self-serve, which deflects cases. Articles follow a lifecycle: Draft, then In Review (via approval), then Published (Online), then Archived. Lightning Knowledge stores all articles in a single object (Knowledge__kav) using record types for different article formats; the older Classic article types are not available in Lightning Experience.

**How it works:**
1. Setup > Knowledge Settings: enable Lightning Knowledge; create record types and fields.
2. Give selected users the Knowledge User feature license checkbox (on the User record) and permissions (Create/Edit/Publish).
3. Set up Data Categories (for example Product > Router) and map category visibility to roles/profiles.
4. Choose channels per article (Internal, Customer, Partner, Public Knowledge Base) and add the Knowledge component to the case console.
5. Agents attach articles to cases, increasing reuse metrics; customers search through Experience Cloud.

**Advanced / deep dive:** The key objects are Knowledge__kav (versions) and KnowledgeArticle (master); queries must filter PublishStatus ('Draft','Online','Archived') and often Language. Multi-language is supported through translation workflows. Search uses SOSL with article fields indexed, and data categories can filter with WITH DATA CATEGORY. Einstein/Agentforce features (article recommendations, generated answers grounded in Knowledge) rely on well-structured, current articles. For scale, avoid deep category trees, and govern article ownership, expiration (review dates) and duplication. One Knowledge user license is included in some editions, with more purchasable; verify current entitlement.

**Code / config example:**
```apex
// Published articles in a category (Language and PublishStatus are required filters)
List<Knowledge__kav> arts = [
    SELECT Id, Title, UrlName, KnowledgeArticleId
    FROM Knowledge__kav
    WHERE PublishStatus = 'Online' AND Language = 'en_US'
    WITH DATA CATEGORY Product__c ABOVE_OR_BELOW Router__c
    LIMIT 20];
// Publish a draft programmatically
KbManagement.PublishingService.publishArticle(knowledgeArticleId, true);
```

**Hidden gotchas & must-remember points:**
- Only users with the Knowledge User checkbox can author or manage articles.
- Classic article types are not supported in Lightning; migrate to Lightning Knowledge.
- Queries on article versions need a PublishStatus filter.
- Data categories control visibility, so a wrong mapping hides articles or leaks them.
- Public Knowledge Base access runs as a guest context, so review security carefully.
- Content decay is the main failure; track review/expiration dates.

**Best practice:** Define article templates, ownership and a review cycle before launch, and measure use by case attachment and self-service deflection.

---
Source: ForceChallenges · last updated 2026-11-02
