Skip to main content

Hello! We are using the Freshdesk API to load articles into our company website. We have two distinct audiences that visit - employers and workers - and have categories setup for each of those. We are able to build distinct pages that load only the folders/articles relevant to each by using the List all Solution Folders in a Category endpoint.

We also allow for visitors to search for articles. We would like to limit the search results to only articles/folders within a specific category. For instance, if a visitor uses the search from the Employers page, we only want articles that are part of the Employers category to appear.

Looking at the Search solution articles endpoint, it appears this only takes a term  parameter and returns any articles across all categories and folders.

Is there any way to limit the search results to a specific category?

Hi Sean,


I hope you are doing well :)


I understand that you want to set visibility to articles so that you can categorize internal and external articles from your side. Please note that all the published articles which are specified under a specified category and that category being tagged under admin > channel > portal > edit > manage sections > knowledge base, will be visible to the end users. I have added an illustration below for your reference, 

 

For internal repository I would suggest you to create a new category and make sure you are not specifying that category under portal sections.


Feel free to respond to this thread for any queries :)
Thank you


Reply