Our documentation has been relocated here, the Liferay Developer Network. Please update your bookmarks!

Liferay’s Documents and Media library provides a mechanism for storing files online using the same type of structure that you use to store files locally. You can use it to store files of any kind; it serves as a virtual shared drive, and can mount and browse external repositories. Its companion portlet, the Media Gallery, displays selected content from the Documents and Media library. It can display image, audio and video files. Other features in the Documents and Media library include customizable document types and metadata sets, automatic document preview generation, and support for mounting multiple external repositories. The new document types and metadata sets are an addition to, not a replacement for, the portal’s system of tags and categories. Let’s start exploring how to use the Documents and Media portlet.

Getting Started with the Documents and Media Portlet

The Documents and Media portlet, like many other of Liferay’s portlets, is non-instanceable. This means that each page on your portal can host at most one such portlet. Furthermore, if you add...

Read More

Document Types and Metadata Sets

When a user assigns a document type to a document, the user is required to fill out the fields defined by the metadata set of the document type. This encourages users not to forget to enter...

Read More

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...

Read More

Using External Repositories

Liferay Portal’s Documents and Media lets you access external repositories in addition to the built in document repository. Some of the features supported with third-party repositories include:...

Read More

Configuring the Documents and Media portlet

To configure the Documents and Media portlet, click on the gear icon at the top of the portlet window and select Configuration. The portlet-specific customizations appear on the Setup tab. To...

Read More

Automatic Previews and metadata

Whenever possible, Liferay 6.2 generates previews of documents added to the Documents and Media library. Out of the box, Liferay only ships with Java-based APIs to generate previews for documents....

Read More

Administering Liferay Sync

Liferay Sync is an add-on product for Liferay 6.2 CE and EE that synchronizes files between your Liferay server and users’ desktop and mobile environments. With Liferay Sync, users can publish and...

Read More

Using Liferay Sync on Your Desktop

Liferay Sync synchronizes files between your Liferay sites and desktop devices. It lets you work with your files without using a browser. The Sync clients also ensure that the files are updated...

Read More

Using Liferay Sync on Your Mobile Device

Liferay Sync for Android and iOS contains most of the desktop Sync client’s functionality. The mobile client can, however, only be connected to one portal account at a time. Also, mobile Sync...

Read More


In this chapter, we examined Liferay’s Documents and Media Library, a powerful and customizable virtual shared drive. Liferay 6.1 introduced the ability to mount multiple external repositories to...

Read More
0 (0 Votes)
Summary Previous