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:
- Setup > Knowledge Settings: enable Lightning Knowledge; create record types and fields.
- Give selected users the Knowledge User feature license checkbox (on the User record) and permissions (Create/Edit/Publish).
- Set up Data Categories (for example Product > Router) and map category visibility to roles/profiles.
- Choose channels per article (Internal, Customer, Partner, Public Knowledge Base) and add the Knowledge component to the case console.
- 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:
List<Knowledge__kav> arts = [
SELECT Id, Title, UrlName, KnowledgeArticleId
FROM Knowledge__kav
WITH DATA CATEGORY Product__c ABOVE_OR_BELOW Router__c
LIMIT ];
KbManagement.PublishingService.publishArticle(knowledgeArticleId, );