Beta
Nuxeo Answers
ask a question

Your documentation doesn't explain how to set input documents for the next operation when using the Nuxeo Shell with the 'automation' namespace.

For example, if I want to make in batch mode :

connect -u Administrator -p Administrator http://localhost:8080/nuxeo/site/automation
use automation
Document.Query -query "SELECT * FROM Document"
Document.Save [the input document(s)]

How to make Document.Save with the previous output operation ?

asked Apr 13 '12 at 11:43 Clément Lardeur 3333512 Cl%C3%A9ment%20Lardeur's gravatar image

Hi Clément,

Unfortunately you cannot chain the result of operations in the shell. Best way is to define an operation chain, then call it within the shell.

link
answered Apr 13 '12 at 14:07 Laurent Doguin ♦♦ 1.0k2512 Laurent%20Doguin's gravatar image
Your answer
toggle preview

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×555
×60
×4

Asked: Apr 13 '12 at 11:43

Seen: 726 times

Last updated: Apr 13 '12 at 14:07