Skip to product menu
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(ResourceType resourceType)

Example

CopiedZohoSalesIQ.KnowledgeBase.isEnabled(ZohoSalesIQ.ResourceType.Articles);
CopiedZohoSalesIQ.KnowledgeBase.isEnabled(ZohoSalesIQ.ResourceType.Articles)