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

Any type of content in Liferay is considered an asset. In chapters 2 and 3, we already examined Liferay’s most common type of asset: web content. Other types of assets include blog posts, wiki articles, message board posts, bookmarks, and documents. It’s possible for developers to define custom asset types that utilize Liferay’s asset framework. Originally, the asset framework was created to provide a mechanism for adding tags to blog entries, wiki articles, and web content without reimplementing the same functionality multiple times. The asset framework has been greatly extended since then and it now supports tags, categories, vocabularies, comments, ratings, and asset relationships.

This chapter covers the following topics:

  • Tagging and categorizing content
  • Using targeted, single value, and multi-value vocabularies
  • Using Faceted Search
  • Using the Asset Publisher
  • Setting up display pages
  • Adding relationships between assets

The Asset Publisher portlet is designed to display multiple assets. It has quite a few configuration options which we’ll cover in this chapter. By default, abstracts (previews) of recently published assets are displayed by the Asset Publisher portlet and links to their full views are provided. You can configure the Asset Publisher portlet to display a table of assets, a list of asset titles, or the full content of assets. You can also configure the Asset Publisher to display only certain kinds of assets and you choose how many items to display in a list. The Asset Publisher portlet is very useful for displaying chosen types of content, for displaying recent content, and for allowing users to browse content by tags and categories. The Asset Publisher is designed to integrate with the Tags Navigation and Categories Navigation portlets to allow this.

Tagging and Categorizing Content

Tags and categories are two important tools you can use to help organize information on your portal and make it easier for your users to find the content they’re looking for through search or...

Read More

Targeted Vocabularies

Targeted Vocabularies allow you to decide which vocabularies can be applied to an asset type and which vocabularies are required for an asset type. To configure these settings, go to the categories...

Read More

Using Faceted Search

To stay organized, I (RS) used to use a paper-based planner. It had various sections for various areas of my life. Its initial incarnation came from a commercial company, but over the years I...

Read More

Using the Asset Publisher

As we create web content, it’s important to keep in mind that to Liferay, the pieces of content are assets, just like message board entries and blog posts. This allows you to publish your web...

Read More

Setting up Display Pages

The Display Settings section gives you precise control over the display of your assets. There are a multitude of options available to configure how you want your content to appear. You can...

Read More

Defining Content Relationships

Related Assets is a new feature in Liferay 6.1 that enables you to connect an asset to other assets within the same site or to global assets, even if they don’t share any tags and aren’t in the...

Read More


In this chapter, we explored Liferay’s asset framework. Any type of content in Liferay is considered an asset and can utilize the features provided by the asset framework: tags, categories,...

Read More
0 (0 Votes)
Summary Previous