cancel
Showing results for 
Search instead for 
Did you mean: 

Asset cloning using automation client.

nuxeonovice_
Champ in-the-making
Champ in-the-making

Hi, Is there anyway to clone asset along with their blob content. We use the nuxeo automation client to upload assets in our java project. We have a requirement that we need to replicate (or clone) an existing asset along with the blob attachment to different path. Is there anyway we can do this using the Nuxeo automation Client ?

Thanks.

1 REPLY 1

nuxeonovice_
Champ in-the-making
Champ in-the-making

Sorted. Document.copy can do this. session.newRequest("Document.Copy").setInput(document_to_copy).set("target", path_to_copy_at).execute();