Data Category for Articles
A Data Category for Articles in Salesforce is a label within a Data Category Group used to classify Knowledge articles by topic, product, region, or any other taxonomy the organization wants to browse Knowledge by.
Definition
A Data Category for Articles in Salesforce is a label within a Data Category Group used to classify Knowledge articles by topic, product, region, or any other taxonomy the organization wants to browse Knowledge by. When an author creates or edits an article, they assign one or more Data Categories. Readers in the Knowledge base, Experience Cloud sites, or Service Console can then filter articles by category to find relevant content. Sharing rules can also restrict article visibility based on category.
Data Categories for Articles remain a supported, actively used Knowledge feature in modern Salesforce. They are part of Salesforce Knowledge core configuration and continue to work alongside newer additions like Topics (Experience Cloud) and Knowledge AI features. The hierarchical structure of Data Categories is what makes them well-suited to product or geography classification, where there is a natural parent-child relationship between categories.
How Data Categories for Articles structure the Knowledge base
The hierarchy: Data Category Group, Data Category, sub-category
A Data Category Group is the top-level container (e.g., Product, Region, Department). Inside it, Data Categories form a hierarchy: Product, Hardware, Laptops, Pro Series. Each level inherits the parent context. Articles can be tagged at any level, and readers browsing the higher level see articles tagged at that level plus all levels beneath. The hierarchy depth is capped (currently 5 levels).
Assigning categories to articles
When an author edits a Knowledge article, the article record includes a Data Categories panel showing the available Data Category Groups. The author picks one or more categories from each Group. The article inherits visibility filters and routing based on the chosen categories. Multiple categories per Group are allowed; articles often have several categories spanning different Groups.
Browsing and search by category
Readers in the Knowledge tab, Service Console, or Experience Cloud see a category browser that lets them drill down through the hierarchy. Search results can be filtered by category. Many Knowledge bases organize their main navigation around the top-level Data Category Group, with sub-categories as the menu structure underneath.
Category-based sharing and visibility
Salesforce supports Data Category Visibility settings that control which roles, profiles, or permission sets can see articles tagged with which categories. This is how Knowledge bases enforce that internal-only articles do not appear on the customer-facing Experience Cloud site, or that EU-specific articles appear only to EU users.
Data Categories vs Topics
Topics are the flat, tag-style alternative to Data Categories. Experience Cloud sites can use Topics on articles for community-style discovery. The two coexist: an article can have both Data Categories (for hierarchical browse) and Topics (for free-form discovery). Most mature Knowledge bases use Data Categories for the official taxonomy and Topics for emergent themes.
Reporting and analytics
Article reports group by Data Category to show coverage gaps (which categories have few articles), article popularity (which categories get the most reads), and validation lifecycle (which categories have the most outdated content). Mature Knowledge teams use these reports to prioritize content creation and review.
Common pitfalls in Data Category design
The biggest pitfall is over-deep hierarchies. A 5-level Data Category structure looks logical to the architect but is unusable for authors and readers. Aim for 2 to 3 levels max for production use. The second pitfall is too many Groups; one or two well-designed Groups beat five overlapping ones.
How to set up Data Categories for Knowledge
Most of the work is designing the right Data Category taxonomy. The configuration mechanics are straightforward; the taxonomy design is what determines whether the Knowledge base is usable.
- Design the taxonomy
Workshop with content authors and users to define the right Data Category Groups (typically Product, Region, Audience) and the categories under each. Keep depth to 2 or 3 levels. Document the taxonomy before configuring.
- Create the Data Category Groups
Setup, Data Category Groups, New. Create one Group per top-level axis. Add Data Categories in the hierarchy. Activate when ready.
- Configure Data Category Visibility
Setup, Data Category Visibility. Define which roles, profiles, or permission sets can see articles tagged with which categories. This enforces the access model.
- Update Article Page Layouts
Ensure the Data Categories section is on the Knowledge article page layout so authors can assign categories.
- Train authors
Document the taxonomy and train authors on which categories to apply to which articles. Without discipline, articles get mis-tagged and the browse experience degrades.
- Build reports and dashboards
Create reports grouped by Data Category to monitor article volume per category, popularity, and review cadence. Use these to prioritize content work.
- Hierarchies over 3 levels deep become unusable. Authors and readers cannot mentally navigate them; aim shallow.
- Data Category Group changes (rename, restructure) can cascade through articles unpredictably. Plan changes carefully in a sandbox first.
- Articles can have multiple categories per Group. Authors sometimes assign every category that seems vaguely relevant; train discipline.
- Data Category Visibility is sticky. Once configured, removing a role from a category does not retroactively rebuild the visibility; cache invalidation requires touching the article.
- Topics and Data Categories coexist but serve different purposes. Do not collapse them into one structure; the two-layer model is intentional.
Trust & references
Cross-checked against the following references.
- Data Categories OverviewSalesforce Help
- Salesforce Knowledge OverviewSalesforce Help
Straight from the source - Salesforce's reference material on Data Category for Articles.
- Data Category VisibilitySalesforce Help
- Create Knowledge ArticlesSalesforce Help
About the Author
Dipojjal Chakrabarti is a B2C Solution Architect with 29 Salesforce certifications and over 13 years in the Salesforce ecosystem. He runs salesforcedictionary.com to help admins, developers, architects, and cert/interview candidates sharpen their fundamentals. More about Dipojjal.
Test your knowledge
Q1. What is a Data Category for Articles?
Q2. Beyond navigation, what do Data Categories control?
Q3. Can an article be tagged with Data Categories from multiple groups?
Discussion
Loading discussion…