cancel
Showing results for 
Search instead for 
Did you mean: 

How to search and add sub folder inside folder?

madhurao
Champ in-the-making
Champ in-the-making
Hi All,
I Want to search(check if folder  already exists ) and  create sub folder in side a folder in a given path.

example : I Want to search for "01 strategy" and  create sub folder("CCW WorkSpace") in side a folder in a given path.

"/01 Strategy"  – search folder
"CCW WorkSpace"  – sub folder

Are there any webservice available for this?

Regards,
Madhu
1 REPLY 1

openpj
Elite Collaborator
Elite Collaborator
You can do this use case with all of the Alfresco APIs (for example CMIS, JCR, Web Services, REST).
You can try to get all the contents that you need for your application and if it doesn't exist you can create the new content (space) as a subcontent.

CMIS API:
http://wiki.alfresco.com/wiki/CMIS

JCR API:
http://wiki.alfresco.com/wiki/Introducing_the_Alfresco_Java_Content_Repository_API

Web Services API:
http://wiki.alfresco.com/wiki/Alfresco_Content_Management_Web_Services

REST API:
http://wiki.alfresco.com/wiki/3.0_REST_API

Hope this helps.