Platform Explorer / Nuxeo Platform LTS 2015 7.10

Operation Document.SetMetadataFromBlob

Trigger Metadata Mapping

Description

Write Metadata To Document From Binary according to metadata mapping.
Operation id Document.SetMetadataFromBlob
AliasesDocument.TriggerMetadataMapping
Category Files
Label Trigger Metadata Mapping
Requires
Since 7.1

Parameters

Name Description Type Required Default value
metadataMappingId string yes  
processor string no  

Signature

Inputs document
Outputs void

Implementation information

Implementation class org.nuxeo.binary.metadata.internals.operations.TriggerMetadataMappingOnDocument
Contributing component org.nuxeo.binary.metadata

JSON definition

{
  "id" : "Document.SetMetadataFromBlob",
  "aliases" : [ "Document.TriggerMetadataMapping" ],
  "label" : "Trigger Metadata Mapping",
  "category" : "Files",
  "requires" : null,
  "description" : "Write Metadata To Document From Binary according to metadata mapping.",
  "since" : "7.1",
  "url" : "Document.SetMetadataFromBlob",
  "signature" : [ "document", "void" ],
  "params" : [ {
    "name" : "metadataMappingId",
    "description" : "The metadata mapping id to apply on the input document.",
    "type" : "string",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "processor",
    "description" : "The processor to execute for reading blobs metadata.",
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}