Platform Explorer / Nuxeo Platform LTS 2015 7.10

Operation FileManager.Import

Create Document from file

Description

Create Document(s) from Blob(s) using the FileManagerService.
Operation id FileManager.Import
Category Services
Label Create Document from file
Requires
Since

Parameters

Name Description Type Required Default value
overwite boolean no  

Signature

Inputs bloblist, blob
Outputs documents, document

Implementation information

Implementation class org.nuxeo.ecm.automation.core.operations.services.FileManagerImport
Contributing component org.nuxeo.ecm.core.automation.featuresContrib

JSON definition

{
  "id" : "FileManager.Import",
  "label" : "Create Document from file",
  "category" : "Services",
  "requires" : null,
  "description" : "Create Document(s) from Blob(s) using the FileManagerService. The destination container must be passed in a Context variable named currentDocument.",
  "url" : "FileManager.Import",
  "signature" : [ "bloblist", "documents", "blob", "document" ],
  "params" : [ {
    "name" : "noMimeTypeCheck",
    "description" : "",
    "type" : "boolean",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "overwite",
    "description" : "",
    "type" : "boolean",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}