Platform Explorer / Nuxeo Platform 5.6

Operation BlobHolder.AttachOnCurrentDocument

Attach File or files to the currentDocument.

Description

Attach the input file(s) to the current document using the BlobHolder abstraction
Operation id BlobHolder.AttachOnCurrentDocument
AliasesBlobHolder.Attach
Category Files
Label Attach File or files to the currentDocument.
Requires
Since

Parameters

Name Description Type Required Default value
useMainBlob boolean no  

Signature

Inputs bloblist, blob
Outputs document, document

Implementation information

Implementation class org.nuxeo.ecm.automation.core.operations.services.BlobHolderAttach
Contributing component org.nuxeo.ecm.core.automation.features.operations

JSON definition

{
  "id" : "BlobHolder.AttachOnCurrentDocument",
  "aliases" : [ "BlobHolder.Attach" ],
  "label" : "Attach File or files to the currentDocument.",
  "category" : "Files",
  "requires" : null,
  "description" : "Attach the input file(s) to the current document using the BlobHolder abstraction",
  "url" : "BlobHolder.AttachOnCurrentDocument",
  "signature" : [ "bloblist", "document", "blob", "document" ],
  "params" : [ {
    "name" : "useMainBlob",
    "description" : "",
    "type" : "boolean",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}