Skip to main content

open()

The ZohoSalesIQ.KnowledgeBase.open API helps to open a specific resource. 

Parameters

  • type * - (Article) Type of the resource
  • ID * - ID of the resource
  • callback * - The callback for the resource if it's failed or opened successfully

Error codes:

CodeMessage
18008Provide a valid language code
18009Provided language code is not supported
500Mobilisten SDK not initialized
600No network connection
605Mobilisten SDK is disabled

Example

CopiedZohoSalesIQ.KnowledgeBase.open(ZohoSalesIQ.Resource.ARTICLES, 'id',(success, error) => {
        
});

Syntax

CopiedZohoSalesIQ.KnowledgeBase.open(
      type: ResourceType,
      id: string,
      callback: (error: CallbackError, success: boolean) => void
    )