Platform Explorer / Nuxeo Platform 6.0

Operation Seam.SaveDocumentInUI

Save Document in UI

Description

Saves a document in UI, as if user was hitting the 'Save' button on a the document edition form. It assumes that the contextual 'currentDocument' document from the Seam context has been updated to hold the new properties. It will navigate to the edited document context, set its view as outcome, and return it.
Operation id Seam.SaveDocumentInUI
Category User Interface
Label Save Document in UI
Requires Seam
Since

Parameters

No parameters.

Signature

Inputs void
Outputs document

Implementation information

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

JSON definition

{
  "id" : "Seam.SaveDocumentInUI",
  "label" : "Save Document in UI",
  "category" : "User Interface",
  "requires" : "Seam",
  "description" : "Saves a document in UI, as if user was hitting the 'Save' button on a the document edition form. It assumes that the contextual 'currentDocument' document from the Seam context has been updated to hold the new properties. It will navigate to the edited document context, set its view as outcome, and return it.",
  "url" : "Seam.SaveDocumentInUI",
  "signature" : [ "void", "document" ],
  "params" : [ ]
}