ctm.generatePDF

The method of JS Bridge functionality is intended to generate PDF documents based on templates. It is similar to the PDF button from the CLM presentation sidebar.

This method is only available when templates of PDF documents are uploaded to the CLM presentation.

Query Format

ctm.generatePDF(handler)

Handler

Use a handler function to describe the output format of the query results, e.g., to display the results of operations or method errors for debugging purposes.

ctm.generatePDF(handler)
ctm.generatePDF( function(response){
console.log('Result', response);
})

The results:

{
    "success": true,
}
``