Assets

Categorizing Assets

Liferay DXP 2026.Q3+

You can organize content with vocabularies, categories, and tags. Vocabularies group hierarchical categories, while tags provide a flexible, flat labeling system.

Outside the CMS, each Asset Library has its own categories and tags. In the CMS, they are centralized and reusable across spaces.

Creating Vocabularies

  1. Open the Global Menu (Global Menu) and click CMS.

  2. In the left menu, click Categorization.

  3. Select the Vocabularies tab and click New.

  4. Under Basic Info, enter a name. Optionally, enter an external reference code and a description.

    Important

    An external reference code is your own identifier for the vocabulary, such as product-type. If you leave it blank, Liferay generates one when you save. The code cannot exceed 75 characters and must be unique across the CMS. You can’t reuse a code for another vocabulary, even in a different space. Setting the code yourself keeps references to the vocabulary working when you move content between environments.

  5. Leave Allow Multiple Categories on to use more than one category from this vocabulary on a content item. Turn it off to limit each content item to one category.

  6. Set the vocabulary visibility to Public or Private.

    Public: The vocabulary appears on pages and can be used in widgets, fragments, or content mapping.

    Private: The vocabulary is hidden from pages and used only for internal searches and categorization.

    Important

    You cannot change the visibility after saving the vocabulary.

  7. Under Scope, the vocabulary is available in all spaces by default. To limit it to specific spaces, deselect Make this vocabulary available in all spaces, including those yet to be created, then select the spaces in the Space field.

  8. Under Permissions, define who can view the vocabulary and set additional permissions for guests and site members.

  9. Click Save.

Enter basic info, including the external reference code, and set visibility when creating a new vocabulary.

You can also associate the vocabulary to specific asset types:

  1. Click Associated Asset Types in the side menu.

  2. Uncheck Make this vocabulary available in all asset types, including those yet to be created.

  3. Select the asset types for the vocabulary.

  4. To make the vocabulary mandatory for a specific asset type, toggle its Required switch.

  5. Click Save

You can also associate the vocabulary to specific asset types.

Creating Categories

  1. Open the Global Menu (Global Menu) and click CMS.

  2. In the left menu, click Categorization.

  3. Select the Vocabularies tab. For your desired vocabulary, click Actions (Actions) → Add Category.

    Alternatively, click Actions (Actions) → View Categories to see existing categories, then click Add (Add).

  4. Under Basic Info, enter the name and, optionally, a description.

  5. Under Permissions, define who can view the category and set additional permissions for guests and site members.

  6. Click Save to return to the Categories page or Save and Add Another to create another category.

Define the basic information and permissions when creating a new category.

You can also add properties to provide more information for a category and simplify the categorization process:

  1. Click Properties in the side menu.

  2. Enter a key and a value in the first row.

  3. To add more properties, click Add (Add).

  4. Click Save to return to the Categories page or Save and Add Another to create another category.

Add properties to provide more detailed information for specific categories.

Creating Subcategories

You can add subcategories to categories.

  1. Open the Global Menu (Global Menu) and click CMS.

  2. In the left menu, click Categorization.

  3. Select the Vocabularies tab. For your desired vocabulary, click Actions (Actions) → View Categories.

  4. For the category where you want to add the subcategories, click Actions (Actions) → Add Subcategory.

    Alternatively, click View Subcategories to see existing subcategories, then click Add (Add) to create a new one.

  5. Add the subcategory the same way you would add a category.

  6. Click Save to return to the Subcategories page or Save and Add Another to create another subcategory.

Tip

Use the breadcrumbs above the search bar to navigate between levels. Click a level to go to it.

Viewing Usages

You can view where categories are used across spaces.

  1. Open the Global Menu (Global Menu) and click CMS.

  2. In the left menu, click Categorization.

  3. Select the Vocabularies tab. For your desired vocabulary, click Actions (Actions) → View Usages.

The table shows the asset name, space, author, modified date, and status.

Tip

Click (Arrow down) in the table’s last column to select which fields to display.

Use the View Usages action to view where categories are used across spaces.

Creating Tags

  1. Open the Global Menu (Global Menu) and click CMS.

  2. In the left menu, click Categorization.

  3. Select the Tags tab and click Add (Add).

  4. Enter a name for your tag.

  5. To create the tag in a specific space, deselect Make this tag available in all spaces, including those yet to be created and choose the desired spaces.

  6. Click Save to return to the Tags page or Save and Add Another to create another tag.

Add and manage tags in the Tags tab.

You can also create tags while creating or editing an asset:

  1. While editing an asset, click Categorization (Categorization) in the side panel.

  2. Select existing tags from the list.

  3. Alternatively, enter a new tag in the tags field. When a Create New Tag: tag message appears, click it to create and select the tag for the asset.

Add and manage tags during asset creation.

Exporting and Importing

You can export and import vocabularies, categories, and tags. See Promoting Content to New Environments to learn about the supporting framework.

  1. Open the Global Menu (Global Menu) and click CMS.

  2. In the left menu, click Categorization.

  3. Click Actions (Actions) next to Categorization and choose whether to export/import vocabularies or tags.

    You can export or import vocabularies with their categories, and tags.