Platform Explorer / Nuxeo Platform LTS 2017 9.10

Operation Document.AddFacet (Add Facet)

Description

Adds the facet to the document. Saves the document if 'save' parameter is true (Notice: default value is true for compatibility reason).
Operation id Document.AddFacet
AliasesDocument.AddFacet
Category Document
Label Add Facet
Requires
Since

Parameters

Name Description Type Required Default value
facet string yes  
save boolean no true 

Signature

Inputs document, documents
Outputs document, documents

Implementation Information

JSON Definition

{
  "id" : "Document.AddFacet",
  "aliases" : [ "Document.AddFacet" ],
  "label" : "Add Facet",
  "category" : "Document",
  "requires" : null,
  "description" : "Adds the facet to the document. Saves the document if 'save' parameter is true (Notice: default value is true for compatibility reason).",
  "url" : "Document.AddFacet",
  "signature" : [ "document", "document", "documents", "documents" ],
  "params" : [ {
    "name" : "facet",
    "description" : null,
    "type" : "string",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "save",
    "description" : null,
    "type" : "boolean",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ "true" ]
  } ]
}