How to set input documents using automation commands on the Nuxeo Shell ?

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 ?

0 votes

1 answers

2562 views

ANSWER



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.

2 votes