What are Knowledge Article Channels and how do they determine content visibility across platforms?
Answer
Basics: Knowledge serves different audiences. Agents need internal procedures; customers need sanitized help; partners may need technical notes; the public needs SEO-friendly articles. When an author creates or edits an article, they tick the channels where it should appear. Unticked channels never show the article, regardless of other permissions.
How it works: Channels map to audiences: Internal App (Knowledge users in the Salesforce app), Customer (Customer Community / Experience Cloud users), Partner (Partner Community users), Public Knowledge Base (guest users on a public Experience Cloud/Sites page). In Lightning Knowledge they are fields on the article version: IsVisibleInApp, IsVisibleInCsp, IsVisibleInPrm, IsVisibleInPkb. A user sees an article only when all layers pass: published (Online) status, channel match, data category visibility, object and field permission on the knowledge object, and, for internal users, the Knowledge User license flag.
Advanced / deep dive: Channel is one of four stacked controls, not a security model by itself. Data categories segment by topic or tier; channels segment by audience type. Typical design: sensitive troubleshooting notes tick Internal only; polished how-to articles tick Internal and Customer; evergreen FAQs add Public Knowledge Base. Record types and page layouts can default channel values for different article types. Channel changes need a new draft or a minor-edit publish, and they alter search indexing for each site. For guest access, the guest profile also needs read access on the knowledge object and category visibility. Channel-specific metrics exist: view and vote stats are reported per channel (App, Csp, Prm, Pkb).
Code / config example:
-- Online articles visible to customer-community users in English, within a category
SELECT Id, Title, UrlName
FROM Knowledge__kav
WHERE PublishStatus = 'Online'
AND Language = 'en_US'
AND IsVisibleInCsp = true
WITH DATA CATEGORY Product__c BELOW Laptops__c
Hidden gotchas & must-remember points:
- A SOQL query against a knowledge version object must filter on PublishStatus (and normally Language), or it fails.
- Ticking Customer does nothing if the customer user's category visibility excludes the article.
- Internal App channel still requires the Lightning Knowledge User permission on the user.
- Channel values are part of the version; the article's archived and draft versions keep their own values.
- Public Knowledge Base is a channel, not a site; you still must build and expose the site pages.
- Do not use channels to hide confidential data from a licensed audience; use categories and object permissions too.
Best practice: Default new articles to Internal only and require reviewers to deliberately widen the channels at publish time.