Skip to product menu
Skip to main content

categorize()

The ZohoSalesIQ.KnowledgeBase.categorize API allows managing category visibility while displaying the resources in the Mobilisten knowledge base section.

Parameter:

  • type* - (Articles) The type of the resource
  • shouldCategorize* - (true/false) 
    • true will list the categories, and when a category is selected, only the resources associated with the selected category will be listed. The default value is true.
    • false will hide the categories and list all the resources. 

Note:

  • The API will work when the "Categorize articles" is enabled under brand settings. To check, from your SalesIQ dashboard, navigate to Settings > Brands > Personalisation > Knowledge Base > Article/FAQ > Categorize articles.

Syntax

CopiedZohoSalesIQ.KnowledgeBase.categorize(type: ResourceType, shouldCategorize: boolean)

Example

CopiedZohoSalesIQ.KnowledgeBase.categorize(ZohoSalesIQ.Resource.ARTICLES, true);