downloadDocument

Download the currently selected case document.

Use this operation to download a selected case document from a list that has been previously populated using fetchDocuments.

Required System Actions

cmisAdmin

Usage

CaseDocumentService.downloadDocument(model,callback)

Parameters

Parameter Type Description
model CaseDocumentServiceModel object Data model to be used by the service request.
  • model.selectedDocument identifies the case document to be downloaded.
  • model.downloadDocumentDivId identifies the Div element to which the iframe for the document download should be attached.
callback Function Callback function to handle success or failure results from the request.