Alternative File Repository Options

By default, Liferay stores documents and media files on the file system of the server on which it’s running. You can choose a specific location for the document library store’s root directory by adding the following property to your file and replacing the default path with your custom path:${liferay.home}/data/document_library

You can also use an entirely different method for storing documents and media files. You can use any of the following documents and media library stores with Liferay:

  • Advanced File System Store
  • CMIS Store (Content Management Interoperability Services)
  • DBStore (Database Storage)
  • File System Store
  • JCRStore (Java Content Repository)
  • S3Store (Amazon Simple Storage)

For example, you can store documents and media files in your Liferay instance’s database using DBStore. To enable DStore, add the following line to your file:

Remember to restart your Liferay server after updating your file in order for your customizations to take effect. Please refer to the Document Library Portlet section of your file to find a complete list of supported customizations. You can customize features such as the maximum allowed size of documents and media files, the list of allowed file extensions, which types of files should be indexed, etc.

« Document Types and Metadata SetsUsing External Repositories »
Este artigo foi útil?
Utilizadores que acharam útil: 0 de 0