Platform Explorer / Nuxeo Platform LTS 2019 10.10

Operation javascript.RenderPdf (javascript.RenderPdf)

Description

Render a document with a given template and converts it to PDF.
Operation id javascript.RenderPdf
Category javascript
Label javascript.RenderPdf
Requires
Since

Parameters

Name Description Type Required Default value
templateName string no  
attach boolean no  
templateData string no  

Signature

Inputs document
Outputs blob

Implementation Information

JSON Definition

{
  "id" : "javascript.RenderPdf",
  "label" : "javascript.RenderPdf",
  "category" : "javascript",
  "requires" : null,
  "description" : "Render a document with a given template and converts it to PDF.",
  "url" : "javascript.RenderPdf",
  "signature" : [ "document", "blob" ],
  "params" : [ {
    "name" : "templateName",
    "description" : null,
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "attach",
    "description" : null,
    "type" : "boolean",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "templateData",
    "description" : null,
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}