You are here

Files and Folders

Files (Documents) and Folders (Containers) are fundamental units within the repository. Developers often search for specific files and folders and process them. In addition Rules can be set on Folders that fire Actions when files are added or removed from a Folder.
Information Files and Folders
Java API This API exposes the FileFolderService as a way of managing folders and files. For more info see the JavaDocs. To search for folders and files use the SearchService, see also the JavaDocs (note. FileFolderService contains search methods that are deprecated).
Repository JavaScript API In JavaScript there are many objects and methods for working with files and folders. For example, the companyhome root object has a children property that returns child nodes. See the JavaScript API Documentation for more information.
Alfresco ReST API The Alfresco ReST API can be used to manage folders, files, comments, etc. See the Managing Folders and Files ReST API documentation..
CMIS ReST API The preferred way to access folders and files in Alfresco is via the Alfresco ReST API. However, if your requirements are to use an open standard, then have a look at OASIS Content Management Interoperability Services (CMIS). See the CMIS Getting Started section to get going with the CMIS ReST API. This information covers the ATOM binding where you work with XML. If you prefer to work with JSON, then have a look at the Browser binding available in CMIS 1.1.

If you are developing a remote client in Java and want to use CMIS, then have a look at the OpenCMIS Java Library.

Mobile SDK (iOS) The Mobile SDK Model includes classes for dealing with Documents and Folders. There is also a DocumentFolder Service.
Mobile SDK (Android) The Mobile SDK Model includes classes for dealing with Documents and Folders. There is also a DocumentFolder Service.
More Information

Sending feedback to the Alfresco documentation team

You don't appear to have JavaScript enabled in your browser. With JavaScript enabled, you can provide feedback to us using our simple form. Here are some instructions on how to enable JavaScript in your web browser.