Skip to main content

isEnabled()

The ZohoSalesIQ.KnowledgeBase.isEnabled API allows to get the status (enabled/disabled) of the specified resource type in the portal. 

Parameters

  • resource*: (articles)The type of the resource.

This API returns a boolean value: true signifies that the specified resource type is enabled, while false indicates it is disabled. 

Syntax

CopiedZohoSalesIQ.KnowledgeBase.isEnabled(
      type: ResourceType,
      callback: (value: boolean) => void
    )

Example

CopiedZohoSalesIQ.KnowledgeBase.isEnabled(ZohoSalesIQ.Resource.ARTICLES, (value) => {

})