how to upload multiple files in blob.attach operation with content automation ?

I sucessfully create a document and attach one file to it using “blob.attach” operation, but i unsucessfully tried the same operation with a Blobs instance (which is the list of file blob attached to the document).

This request receives the following exception : ERREUR_org.nuxeo.ecm.automation.client.RemoteException: Failed to parse multipart request

0 votes

1 answers

2847 views

ANSWER



This operation http://explorer.nuxeo.org/nuxeo/site/distribution/current/viewOperation/BlobHolder.Attach seems to do what you want. Note we provide also another approach when dealing with several blobs to upload: http://doc.nuxeo.com/display/NXDOC/Blob+Upload+for+Batch+Processing

1 votes