Creating Collections
This information applies to Liferay DXP 7.3+. For previous Liferay DXP versions, see Creating Collections for Liferay 7.2 and Earlier Versions.
You can create Manual or Dynamic Collections. For information about the different types of collections, see Collections and Collection Pages.
Creating a Manual Collection
-
Open the Site Menu (
), expand Site Builder, and go to Collections. -
Click New and select Manual Collection.
-
Add a Title for your manual collection and click Save.
-
In the Item Type drop-down menu, select the item type you want to include in the collection.
-
If you want to include only one item type
-
Select the type under Single Item Type.
-
Optionally, if your Item Type includes a subtype, select this in the Item Subtype drop-down menu.
-
Click Save.

-
-
If you want to include more than one item type
-
Select Select Types under Multiple Item Types.
-
In the dual list box, add or remove the item types you want to include in your collection.

-
-
-
Click Save.
-
Click Select next to Collection Items and select one of your item types.

-
In the selection dialog, check the items you want to include.
-
Click Add.
-
If your manual collection includes more than one item type, repeat steps 6 to 8 for the other types.
Documents and media folders, web content folders, and object entry folders can be added to a collection. However, the content is not displayed when the folder is published on a collections page or in an Asset Publisher widget. Even if these assets are added to a collection, they can only be viewed separately.
Creating a Dynamic Collection
-
Open the Site Menu (
), expand Site Builder, and go to Collections. -
Click New and select Dynamic Collection.
-
Add a Title for your dynamic collection and click Save.
-
In the Item Type drop-down menu, select the item type you want to include in the collection.
-
If you want to include only one item type,
-
Select the type under Single Item Type.
-
Optionally, if your Item Type includes a subtype, select this in the Item Subtype drop-down menu.
-
For a classic CMS web content structure or document type, you can filter your Item Subtype by one of its fields. An item must match this field filter and every rule in the Filter section. For a Liferay CMS content structure or an object type, filter on its fields with the rules in the Filter section instead.
-
Enable the Filter by Field switch.
-
Click Select and choose the field.
-
Enter the value the field must match, and click Apply.
-
-
Click Save.
-
-
If you want to include more than one item type,
-
Select Select Types under Multiple Item Types.
-
In the dual list box, add or remove the item types you want to include in your collection.
-
-
-
In the Scope section, choose where items come from. By default, the source is the current site. To add the Global site, click Select and choose Global. To add another site, an asset library, or a space, click Select and choose Other Site, Asset Library, or Space…. You can add more than one source. For content stored in a space, select the space from Spaces.
-
Liferay DXP 2026.Q4+ Add the rules an item must match to appear in the collection. For how rules combine and which fields they can use, see How Filters and Ordering Work. For Liferay DXP 2026.Q3 and earlier, see Filters and Ordering in Liferay DXP 2026.Q3 and Earlier.
-
Click Filter to open the section, and then click Add Filter. A new rule row appears with a drop-down menu that reads Select.
-
Choose a field.

-
Choose an operator in the next drop-down menu. Each field type offers its own operators, such as Contains for a text field or Greater Than for a number field. For the operators of each field type, see Collection Filter and Ordering Reference. A Boolean field has no operator: Its row is the field and a value of Is True or Is False.
-
If a quantifier drop-down menu appears (for text, tag, category, keyword, and picklist fields), choose Any of the Following or All of the Following.
-
Enter or select the value. For a Date field with any operator except Between, choose Specific Date or Relative Date first. Categories from other sites, asset libraries, and spaces are selectable when the Scope includes them. The collection doesn’t save a row with an empty field, operator, or value. If a value is invalid, such as a date that doesn’t exist or a decimal in an Integer field, an error appears under the rule, and Save is disabled until you correct it.

-
Repeat these steps for each additional rule.
-
-
Liferay DXP 2026.Q4+ Set the order of the matching items. Order By defaults to Modified Date descending. And Then By defaults to Title ascending.
-
Click Ordering to open the section.
-
In Order By, choose a sortable common field or type field.
-
In And Then By, choose a second field.
-
To switch a field between ascending and descending, click the sort direction icon next to it.

-
-
Click Save to apply the filters and ordering.
-
To see the matching items, click the collection’s name in Collections. At the top of the editor, click Actions (
) next to the variation name, which is Anyone by default, and select View Items.
How Filters and Ordering Work
Liferay DXP 2026.Q4+
Filter rules can use the searchable fields of a Liferay CMS content structure or an object type, such as a price or an in-stock flag, as well as tags, categories, keywords, and common fields such as Author Name and Modified Date. For the list of common fields, see Collection Filter and Ordering Reference.
An item must match every rule. There is no OR between rules, and there is no limit on the number of rules. For example, the four rules in the Filter section screenshot match only Gadget entries whose Summary contains “search”, whose Price is greater than 100, that are in stock, and whose Release Date is in the past year.
The type’s own fields appear only when the Item Type is one Liferay CMS content structure or one site-scoped object type. All Types, several types, several subtypes, and every other item type offer only Tags, Categories, Keywords, and Common Fields. Object types scoped to the whole instance rather than a site do not appear in the Item Type list. For the fields a type can have, see Content Structure Fields Configuration Reference and Object Fields.
Tags, Categories, and Keywords each have four operator and quantifier pairs: Contains and Does Not Contain, each with Any of the Following or All of the Following. You can add one rule per pair. To match more values with the same pair, add them to the existing rule’s value instead of adding a rule. When you add another rule on the same field, its drop-down menus disable the pairs already in use and label them Already Used:
- A quantifier already used with the chosen operator is disabled.
- An operator is disabled once both of its quantifiers are used.
- The field is disabled once all four pairs are used.
Changing the Item Type removes the filters on the type’s own fields and keeps the filters on Tags, Categories, Keywords, and common fields. In the Ordering section, an Order By or And Then By selection on a type field returns to its default, while a selection on a common field stays. For the fields you can sort by, see Collection Filter and Ordering Reference.
Filters and Ordering in Liferay DXP 2026.Q3 and Earlier
The Filter section takes rules only on tags, categories, and keywords, such as a rule that includes only items with the tag promotion. To add a rule, click Add. The final content in the dynamic collection is the result of combining all the rules.
Both the Order By and the And Then By menus offer a fixed set of asset fields, such as Modified Date and Title, in ascending or descending order.
Creating a Collection from an Asset Publisher
You can create a new collection from an Asset Publisher widget. This is useful when you have an Asset Publisher customization that you want to use as a collection in other pages.
-
Open the Site Menu (
), expand Site Builder, and go to Pages. -
Click Actions (
) for the page that contains the Asset Publisher and select Edit. -
Click Options (
) in the widget header → Configuration.NoteBefore Liferay DXP 2025.Q1/Portal GA132, the Configuration option appeared in the widget’s top-right corner.
-
In the Asset Publisher - Configuration dialog, click the Setup tab → Asset Selection.
-
Scroll down and click Create a Collection from this Configuration.

-
Enter the Title for your Collection and click Save.
-
Close the Asset Publisher - Configuration dialog.
-
Find your new collection in Site Menu → Site Builder → Collections.