Hi there ,
can someone please help me to find Javascript API for creating folder under site/document library/documents .
When I execute createFolder API it always creates folders under repository.
Apart from name , I can see one more parameter in createFolder Javascript API , does that helps me to create folder under document library / documents folder ?
Example
Solved! Go to Solution.
"userhome" is the root place where you are creating the folder. In your case, as you are using admin user, that means "repository".
Hope this sample helps you:
http://www.contcentric.com/create-folders-and-sub-folders-on-uploading-a-csv-file-in-alfresco/
Solved , following script is what i used
companyhome.childByNamePath("Sites/YoutSite/documentLibrary/BusinessDocument/CLAIM")
"userhome" is the root place where you are creating the folder. In your case, as you are using admin user, that means "repository".
Hope this sample helps you:
http://www.contcentric.com/create-folders-and-sub-folders-on-uploading-a-csv-file-in-alfresco/
Solved , following script is what i used
companyhome.childByNamePath("Sites/YoutSite/documentLibrary/BusinessDocument/CLAIM")
Glad you have a solution. Also thanks for posting your update - this will help others who have the same issue.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.