Platform Explorer / Nuxeo Platform LTS 2015 7.10

Operation Seam.CreateDocumentInUI

Create Document in UI

Description

Creates a document in UI, as if user was hitting the 'Create' button on a the document creation form. It assumes that the contextual 'changeableDocument' document from the Seam context has been updated to hold properties defined for creation. It will navigate to the newly created document context, set its view as outcome, and return the newly created document.
Operation id Seam.CreateDocumentInUI
Category User Interface
Label Create Document in UI
Requires Seam
Since

Parameters

No parameters.

Signature

Inputs void
Outputs document

Implementation information

Implementation class org.nuxeo.ecm.automation.jsf.operations.CreateDocumentInUI
Contributing component org.nuxeo.ecm.automation.jsf.contrib

JSON definition

{
  "id" : "Seam.CreateDocumentInUI",
  "label" : "Create Document in UI",
  "category" : "User Interface",
  "requires" : "Seam",
  "description" : "Creates a document in UI, as if user was hitting the 'Create' button on a the document creation form. It assumes that the contextual 'changeableDocument' document from the Seam context has been updated to hold properties defined for creation. It will navigate to the newly created document context, set its view as outcome, and return the newly created document.",
  "url" : "Seam.CreateDocumentInUI",
  "signature" : [ "void", "document" ],
  "params" : [ ]
}