Platform Explorer / Nuxeo Platform 5.8

Operation Dam.Import (Create Asset(s) from file(s))

Description

Create Asset(s) from Blob(s) using the FileManagerService inside the configured Asset Library or the current document.
Operation id Dam.Import
Category Dam
Label Create Asset(s) from file(s)
Requires
Since

Parameters

Name Description Type Required Default value
importInCurrentDocument boolean no  
overwrite boolean no  

Signature

Inputs bloblist, blob
Outputs documents, document

Implementation Information

Implementation Class Javadoc: org.nuxeo.dam.operations.DamImport
Contributing Component org.nuxeo.dam.operations

JSON Definition

{
  "id" : "Dam.Import",
  "label" : "Create Asset(s) from file(s)",
  "category" : "Dam",
  "requires" : "",
  "description" : "Create Asset(s) from Blob(s) using the FileManagerService inside the configured Asset Library or the current document.",
  "url" : "Dam.Import",
  "signature" : [ "bloblist", "documents", "blob", "document" ],
  "params" : [ {
    "name" : "importInCurrentDocument",
    "description" : null,
    "type" : "boolean",
    "required" : false,
    "widget" : "",
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "overwrite",
    "description" : null,
    "type" : "boolean",
    "required" : false,
    "widget" : "",
    "order" : 0,
    "values" : [ ]
  } ]
}