function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Charline MitchenerCharline Mitchener 

knowledge search specific data categories

I have used the Salesforce Knowledge Developer guide to create a Knowledge Article Page with a search function - http://www.salesforce.com/us/developer/docs/knowledge_dev/salesforce_knowledge_dev_guide.pdf. I would like to limit the search function to only search a specific data category, rather than all of them. 

The reason for this is because I am creating a number of subpages, and I want each page to search a different data category, than one page searching all of them. 

I can't work out how to do this? Any help is appreciated!
ShashankShashank (Salesforce Developers) 
You can use the "WITH DATA CATEGORY" clause in a SOSL query to filter results to only a particular data category.