combineDepartments()
The ZohoSalesIQ.KnowledgeBase.combineDepartments API allows to manage the department's visibility while displaying the resources in the Mobilisten knowledge base section.
Parameter
- type * - (Articles) The type of the resource.
- merge * - (true/false)
- true will hide the departments and merge resources from all the departments.
- false will list the departments. When a department is selected, only the resources associated with the selected department will be listed.
Note: The API will work when the "Combine departments" is disabled under brand settings. To check, from your SalesIQ dashboard, navigate to Settings > Brands > Personalisation > Knowledge Base > Article/FAQ > Combine departments.
Syntax
CopiedZohoSalesIQ.KnowledgeBase.combineDepartments(type: ResourceType, merge: boolean)
Example
CopiedZohoSalesIQ.KnowledgeBase.combineDepartments(ZohoSalesIQ.Resource.ARTICLES, true);