Platform Explorer / Nuxeo Platform LTS 2015 7.10

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.PublishRendition" ],
  "label" : "Publish Document's Rendition",
  "category" : "Document",
  "requires" : null,
  "description" : "input document's chosen rendition into the target section. If rendition is not given and default rendition option is false, it falls back on default publishing. 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" : "defaultRendition",
    "description" : "",
    "type" : "boolean",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "override",
    "description" : "",
    "type" : "boolean",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ "true" ]
  }, {
    "name" : "renditionName",
    "description" : "",
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}