Platform Explorer / Nuxeo Platform LTS 2017 9.10

Operation Document.RemoveFacet (Remove Facet)

Description

Removes the facet from the document. Saves the document if 'save' parameter is true (Notice: default value is true for compatibility reason).
Operation id Document.RemoveFacet
AliasesDocument.RemoveFacet
Category Document
Label Remove 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.RemoveFacet",
  "aliases" : [ "Document.RemoveFacet" ],
  "label" : "Remove Facet",
  "category" : "Document",
  "requires" : null,
  "description" : "Removes the facet from the document. Saves the document if 'save' parameter is true (Notice: default value is true for compatibility reason).",
  "url" : "Document.RemoveFacet",
  "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" ]
  } ]
}