Lightning Knowledge
The single Knowledge object with record types, article lifecycle (draft, published, archived, versions, translations), data categories, channels and visibility.
Simple explanation
Lightning Knowledge stores articles in a single object, Knowledge__kav (article versions). Record types distinguish article kinds, such as FAQ, How-to and Troubleshooting.
Lifecycle: an article goes Draft β Published β Archived. Editing a published article creates a new draft version, and only one version is published at a time. Translations are separate drafts linked to the master. Approval processes or Knowledge actions control who can publish.
Who sees what is decided by three things working together:
- Channels: internal app, customer (Experience Cloud), partner, and public knowledge base.
- Data categories: hierarchical tags grouped into category groups, such as Products or Regions. Users and profiles get category group visibility, so a user sees an article only if they can see one of its categories.
- Object access: permissions and Knowledge sharing settings.
Real-world analogy
A library.
- Each book has editions (versions) and translations.
- Shelves (data categories) are organised by subject and region, and some readers have keys only to certain shelves.
- The branch you visit (channel) decides which collection is on display at all: the staff room, the public reading room or the members' lounge.
Worked example
A telco support KB.
- Category groups Products (Mobile β Postpaid / Prepaid, Broadband β Fibre / Copper) and Regions.
- The article "Roaming charges explained" is categorised Mobile/Postpaid and published to the internal and customer channels.
- BPO agents' visibility covers Mobile only, so broadband articles never appear for them.
- Case-page article recommendations suggest it on billing cases. The agent attaches it to the case, which counts as a use for reporting.
- Product updates the roaming fees. A draft version is created, approved and published, and the old version is archived automatically.
Diagram
Key points
- Single object (
Knowledge__kav) with record types. Versions and translations are first-class. - Channels (internal, customer, partner, public) decide where an article can appear.
- Data categories: 5 category groups (3 active at a time), 100 categories per group, 5 levels deep. An article can use up to 8 categories from one group.
- Category visibility is granted to users, roles, profiles or permission sets. It filters articles, so it isn't record sharing.
- Article recommendations and Agentforce or AI answers ground on published articles, so content quality drives deflection.
Limits and gotchas
- Only 3 active category groups. Model categories around the visibility you need (product, region) rather than every attribute; use record types or fields for the rest.
- Deploying category groups with Metadata API can permanently remove categories and categorisations not in the XML. Salesforce recommends creating them in Setup per org.
- Category visibility and channels combine with object access. When "an agent can't see an article", check all three.
- Migrating from Classic article types to Lightning record types is a project in itself: field mapping, URLs, translations.
- Governance matters more than tooling. Without owners and review dates, AI answers will repeat stale articles.
π€ How to say this in an interview
"I design Knowledge around who should see what first: channels for audience, data categories for slicing by product or region, within the 3-active-group limit. Record types handle the article formats. Then governance: owners, review dates and an approval flow, because the same articles ground article recommendations and AI answers, so stale content becomes wrong answers at scale."
Common follow-ups
How is data category visibility different from sharing?
Sharing grants record-level access through OWDs, rules and teams. Category visibility is a filter applied to Knowledge (and some other categorised content), based on the categories a user can see. An article is visible only if the user has object access, the article is published to that user's channel, and the user can see at least one of its categories.
You need more than three dimensions to classify articles. What do you do?
Keep the visibility-driving dimensions (often product and region) as active category groups. Model other attributes, such as article format or audience, as record types or custom fields used in search filters. Don't burn category groups on attributes that don't drive visibility.