setVisibility()

The ZohoSalesIQ.KnowledgeBase.setVisibility API allows to manage the visibility of the resources in the Mobilisten knowledge base section.

Parameters:

  • type * - (Article) The type of the resource
  • shouldShow * - (true/false) true will display the resource type, and false will hide. The default value is true. 

Note:

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

Example

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