setVisibility()

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

Parameters:

  • resourceType * - (articles) The type of the resource
  • value * - (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.

Syntax

CopiedZohoSalesIQ.KnowledgeBase.setVisibility(resource: SIQResourceType, enable: Bool)

Example

CopiedZohoSalesIQ.KnowledgeBase.setVisibility(.articles, enable: true)