Platform Explorer / Nuxeo Platform 5.8

Operation Document.RemoveProperty (Remove Property)

In component BuiltIn

Description

Remove the given property of the input document(s) as specified by the 'xpath' parameter. If the property points to a list then clear the list. Removing a property means setting it to null. Return the document(s).
Operation id Document.RemoveProperty
Category Document
Label Remove Property
Requires
Since

Parameters

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

Signature

Inputs document, documents
Outputs document, documents

Implementation Information

Implementation Class Javadoc: org.nuxeo.ecm.automation.core.operations.document.RemoveProperty
Contributing Component BuiltIn

JSON Definition

{
  "id" : "Document.RemoveProperty",
  "label" : "Remove Property",
  "category" : "Document",
  "requires" : "",
  "description" : "Remove the given property of the input document(s) as specified by the 'xpath' parameter. If the property points to a list then clear the list. Removing a property means setting it to null. Return the document(s).",
  "url" : "Document.RemoveProperty",
  "signature" : [ "document", "document", "documents", "documents" ],
  "params" : [ {
    "name" : "xpath",
    "description" : null,
    "type" : "string",
    "required" : true,
    "widget" : "",
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "save",
    "description" : null,
    "type" : "boolean",
    "required" : false,
    "widget" : "",
    "order" : 0,
    "values" : [ "true" ]
  } ]
}