Platform Explorer / Nuxeo Platform 6.0

Operation Document.AddToCollection

Add document to collection

Description

Add a list of documents in a collection. No value is returned.
Operation id Document.AddToCollection
AliasesCollection.AddToCollection
Category Document
Label Add document to collection
Requires
Since

Parameters

Name Description Type Required Default value
collection document yes  

Signature

Inputs document, documents
Outputs document, documents

Implementation information

Implementation class org.nuxeo.ecm.collections.core.automation.AddToCollectionOperation
Contributing component org.nuxeo.collections.operations

JSON definition

{
  "id" : "Document.AddToCollection",
  "aliases" : [ "Collection.AddToCollection" ],
  "label" : "Add document to collection",
  "category" : "Document",
  "requires" : null,
  "description" : "Add a list of documents in a collection. No value is returned.",
  "url" : "Document.AddToCollection",
  "signature" : [ "document", "document", "documents", "documents" ],
  "params" : [ {
    "name" : "collection",
    "description" : "",
    "type" : "document",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}