Platform Explorer / Nuxeo Platform LTS 2015 7.10

Operation Blob.ExportToFS

Export to File

Description

Save the input blob(s) as a file(s) into the given target directory. The blob(s) filename is used as the file name. You can specify an optional prefix string to prepend to the file name. Return back the blob(s).
Operation id Blob.ExportToFS
AliasesBlob.ToFile
Category Files
Label Export to File
Requires
Since

Parameters

Name Description Type Required Default value
directory string yes  
prefix string no  

Signature

Inputs blob, bloblist
Outputs blob, bloblist

Implementation information

Implementation class org.nuxeo.ecm.automation.core.operations.blob.BlobToFile
Contributing component org.nuxeo.ecm.core.automation.coreContrib

JSON definition

{
  "id" : "Blob.ExportToFS",
  "aliases" : [ "Blob.ToFile" ],
  "label" : "Export to File",
  "category" : "Files",
  "requires" : null,
  "description" : "Save the input blob(s) as a file(s) into the given target directory. The blob(s) filename is used as the file name. You can specify an optional <b>prefix</b> string to prepend to the file name. Return back the blob(s).",
  "url" : "Blob.ExportToFS",
  "signature" : [ "blob", "blob", "bloblist", "bloblist" ],
  "params" : [ {
    "name" : "directory",
    "description" : "",
    "type" : "string",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "prefix",
    "description" : "",
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}