cancel
Showing results for 
Search instead for 
Did you mean: 

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

Clément_Lardeur
Confirmed Champ
Confirmed Champ

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 ?

1 ACCEPTED ANSWER

Laurent_Doguin
Star Collaborator
Star Collaborator

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.

View answer in original post

1 REPLY 1

Laurent_Doguin
Star Collaborator
Star Collaborator

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.