combineDepartments()
The ZohoSalesIQ.KnowledgeBase.combineDepartments API allows to manage the department's visibility while displaying the resources in the Mobilisten knowledge base section.
Parameter
- resource * - (articles) The type of the resource.
- enable * - (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(resource: SIQResourceType, enable: Bool)
Example
CopiedZohoSalesIQ.KnowledgeBase.combineDepartments(.articles, enable: true)