Platform Explorer / Nuxeo Platform LTS 2015 7.10

Operation Document.FetchByProperty

Fetch By Property

Description

For each specified string property value, fetch all documents that match the property and the optional where clause. Matching documents are collected into a list and the returned to the next operation. The operation has no input.
Operation id Document.FetchByProperty
Category Fetch
Label Fetch By Property
Requires
Since

Parameters

Name Description Type Required Default value
property string yes  
values stringlist yes  
query string no  

Signature

Inputs void
Outputs documents

Implementation information

Implementation class org.nuxeo.ecm.automation.core.operations.document.FetchByProperty
Contributing component org.nuxeo.ecm.core.automation.coreContrib

JSON definition

{
  "id" : "Document.FetchByProperty",
  "label" : "Fetch By Property",
  "category" : "Fetch",
  "requires" : null,
  "description" : "For each specified string property value, fetch all documents that match the property and the optional where clause. Matching documents are collected into a list and the returned to the next operation. The operation has no input.",
  "url" : "Document.FetchByProperty",
  "signature" : [ "void", "documents" ],
  "params" : [ {
    "name" : "property",
    "description" : "",
    "type" : "string",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "values",
    "description" : "",
    "type" : "stringlist",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "query",
    "description" : "",
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}