Platform Explorer / Nuxeo Platform LTS 2019 10.10

Operation Document.RemoveFacet (Remove Facet)

Description

Removes the facet from the document.

Save parameter automatically saves the document in the database. It has to be turned off when this operation is used in the context of the empty document created, about to create, before document modification, document modified events.

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. <p>Save parameter automatically saves the document in the database. It has to be turned off when this operation is used in the context of the empty document created, about to create, before document modification, document modified events.</p>",
  "url" : "Document.RemoveFacet",
  "signature" : [ "document", "document", "documents", "documents" ],
  "params" : [ {
    "name" : "facet",
    "description" : "",
    "type" : "string",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "save",
    "description" : "",
    "type" : "boolean",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ "true" ]
  } ]
}