Loading

How to Report on Salesforce Knowledge Article Data Categories Using SOQL

Veröffentlichungsdatum: May 14, 2026
Beschreibung

Salesforce Knowledge does not offer a standard report type for Data Category fields assigned to Knowledge Articles. Reporting on an article's Data Category is not currently available via standard Salesforce Reports.
As a workaround, administrators can use a SOQL query via the Developer Console or a third-party API tool to retrieve Data Category group names and article IDs directly.

Lösung

To retrieve Data Category information for Salesforce Knowledge Articles, run a SOQL query using the Developer Console or any supported API tool.

How to Run the Data Category Query

  1. In Salesforce, go to Setup and open the Developer Console.
  2. In the Developer Console, select Query Editor at the bottom of the screen.
  3. Enter the following query:

Select DataCategoryGroupName, Id, ParentId from Knowledge__DataCategorySelection

  1. Click Execute to run the query.
  2. The results return the Data Category Group Name and the associated Article ID (ParentId).

Note: Replace "Knowledge" with your article type API name if you use a custom article type. For example, if your article type is "Solution__kav", the object name is "Solution__DataCategorySelection".

Nummer des Knowledge-Artikels

000387769

 
Laden
Salesforce Help | Article