How to export 1 file content (binary / blob) from Nuxeo into intermidiate server using Nuxeo Export Utility ?

I am able to export the documents manually. As the process is given in Nuxeo Documentation. That is a very simple and manual process. But is there any other process through which we can export existing documents in Nuxeo through automation ?

0 votes

1 answers

1212 views

ANSWER



Hi,

the command endpoint knows the /api/automation/Document.Export service. This uses

  • exportAsTree
  • exportAsZip automation chains.

Besides that there is the /api/automation/Blob.ExportToFS command (http://explorer.nuxeo.com/nuxeo/site/distribution/cap-8.3/viewOperation/Blob.ExportToFS).

Using the /api/automation/Document.GetBlobs you get a list of available blobs, /api/automation/Document.GetBlob returns a speficfile.

Finbally, there is the docu for creating an automation chain for exporting data.

https://doc.nuxeo.com/display/NXDOC/How+to+Export+Data+Using+Document+Template+and+Automation

Hope this info helps you.

Stefan

0 votes