Create document and upload its content in one and only one request via Nuxeo Automation Client?

Hello,

In order to upload new documents to NUXEO, I am using the Nuxeo Automation Client. I first call the Document.Create interaction than the Blob.Attach one. It is working as it should be. But In the NUXEO UI, I can see that two operations in the document's history tab: 1) Creation and 2) Update. When I upload a document using the NUXEO UI, in the document's history tab, I can see only one operation; Creation.

Is there any way to perform a document creation with content in only one request?

Thank you,

Olivier

0 votes

1 answers

1623 views

ANSWER



Answering my own question. Of course, it is possible. Chain operations is the solution.

0 votes