Platform Explorer / Nuxeo Platform 5.6

Operation Render.DocumentFeed

Render Document Feed

Description

Get a list of documents as input and outputs a single blob containing the rendering of the document list. The template attribute may contain either the template content either a template URI. Template URis are strings in the form 'template:template_name' and will be located using the runtime resource service. Return the rendered blob
Operation id Render.DocumentFeed
Category Conversion
Label Render Document Feed
Requires
Since

Parameters

Name Description Type Required Default value
template string yes  
filename string no output.ftl 
mimetype string no text/xml 
type string no ftl, mvel 

Signature

Inputs documents
Outputs blob

Implementation information

Implementation class org.nuxeo.ecm.automation.core.rendering.operations.RenderDocumentFeed
Contributing component BuiltIn

JSON definition

{
  "id" : "Render.DocumentFeed",
  "label" : "Render Document Feed",
  "category" : "Conversion",
  "requires" : null,
  "description" : "Get a list of documents as input and outputs a single blob containing the rendering of the document list. The template attribute may contain either the template content either a template URI. Template URis are strings in the form 'template:template_name' and will be located using the runtime resource service. Return the rendered blob",
  "url" : "Render.DocumentFeed",
  "signature" : [ "documents", "blob" ],
  "params" : [ {
    "name" : "template",
    "description" : "",
    "type" : "string",
    "required" : true,
    "widget" : "TemplateResource",
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "charset",
    "description" : "",
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "filename",
    "description" : "",
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ "output.ftl" ]
  }, {
    "name" : "mimetype",
    "description" : "",
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ "text/xml" ]
  }, {
    "name" : "type",
    "description" : "",
    "type" : "string",
    "required" : false,
    "widget" : "Option",
    "order" : 0,
    "values" : [ "ftl", "mvel" ]
  } ]
}