combineDepartments()

The ZohoSalesIQ.KnowledgeBase.combineDepartments API allows to manage the department's visibility while displaying the resources in the Mobilisten knowledge base section.

Parameter

  • resourceType * - (Articles) The type of the resource
  • value * - (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 resource 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(ZohoSalesIQ.ResourceType.Articles, true);
CopiedZohoSalesIQ.KnowledgeBase.combineDepartments(ZohoSalesIQ.ResourceType.Articles, true)