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.
Example
CopiedZohoSalesIQ.knowledgeBase.isEnabled(ResourceType.articles).then((value) => {
}).catchError((error) {
});