cancel
Showing results for 
Search instead for 
Did you mean: 

Create document recursively with automation

pnux_
Confirmed Champ
Confirmed Champ

Hello,

I'd like to know if there an operation (chain operation) to create directories recursively before create the final document (the leaf)

Example :

I have to create the document with path : /worksapce_root/folder1/folder2/folder3/mydoc.

Nuxeo have to create folder1, folder2 folder3 if needed. If folder2 is already created nuxeo have to create only folder3 and the document.

Thanks for your help sorry for my english.

2 REPLIES 2

pnux_
Confirmed Champ
Confirmed Champ

Hi,

Nobody has this kind of problem ? So, i think i have to create my own operation to do this task. I will ask the question @ Nuxeo World 2013 ? 🙂

Antoine_Cordier
Star Contributor
Star Contributor

Hello, I had to do something similar and yes it required custom addons

See there but i had to use a workaround to satisfy my need, anyway the "recursively create a directory if not exist" method nests somewhere in the post

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.