chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Potts <>
Subject Re: Create folder with cmis
Date Mon, 11 Jul 2016 13:41:42 GMT

A folder can contain any number of folders. You don't need anything in CMIS
to help you create a nested folder structure. If you know the structure you
need to create, just "walk" the folder structure and for each item in your
folder structure, check CMIS to see if that folder exists. If it doesn't,
create the folder, then go to the next item in the path. Recursion can be
used to do this succinctly but obviously that's up to you.


On Mon, Jul 11, 2016 at 7:52 AM, Neza Guillaine <> wrote:

> Dear Florian,
> I hope this email finds youw ell. I would like to start by thanking you for
> all your help so far and suppport. I am now able to read from one repo and
> write my documents porperties into another repo.
> However, I am being challenged with one last request, I also want to
> recreate their exact folders as they were at the source. and I can get the
> path of a document.
> Is it possible to create a folder and it subfolders using the document
> path?
> For instance If I have my folder structure where C is a subfolder of B and
> B is a subfolder of A. their path representation in cmis is: A/B/C
> Is it possible to create a folder A and it child B and C?
> Any help about this will be highly appreciated. I am at 90% completion of
> my project and I really wish to finish this so that I can share what I did
> with the rest of the community which might need help as I do now.
> Regards,
> Nea

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message