Platform Explorer / Nuxeo Platform 5.6

Operation Document.PublishToSection

Publish Document

Description

Publish the input document into the target section. Existing proxy is overrided if the override attribute is set. Return the created proxy.
Operation id Document.PublishToSection
AliasesDocument.Publish
Category Document
Label Publish Document
Requires
Since

Parameters

Name Description Type Required Default value
target document yes  
override boolean no true 

Signature

Inputs document, documents
Outputs document, documents

Implementation information

Implementation class org.nuxeo.ecm.automation.core.operations.document.PublishDocument
Contributing component org.nuxeo.ecm.core.automation.coreContrib

JSON definition

{
  "id" : "Document.PublishToSection",
  "aliases" : [ "Document.Publish" ],
  "label" : "Publish Document",
  "category" : "Document",
  "requires" : null,
  "description" : "Publish the input document into the target section. Existing proxy is overrided if the override attribute is set. Return the created proxy.",
  "url" : "Document.PublishToSection",
  "signature" : [ "document", "document", "documents", "documents" ],
  "params" : [ {
    "name" : "target",
    "description" : "",
    "type" : "document",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "override",
    "description" : "",
    "type" : "boolean",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ "true" ]
  } ]
}