Data Sets
Liferay DXP 2024.Q1+/Portal GA112+
Currently, this feature is behind a release feature flag (LPS-164563).
Data sets collect data from Liferay headless APIs for you to manage and customize their presentation in one place. They provide a framework that helps organize and manage related data in Liferay, for any resource with APIs that support these features (e.g., object definitions, blog posts, and documents). Use the API Explorer to access the full list of available headless APIs.

To create a data set, choose an API and customize the data’s presentation for users, including the visualization mode (i.e., a table, card, or list view), user actions, filtering options, and sorting options.

When it’s added to a page, end users interact with the curated data set and all its configured options.

Data Set Usages
With data sets, you can tailor the user’s browsing experience to match your vision. Here are some uses for data sets:
-
Consolidate information into cohesive data sets, enabling seamless content management and publication workflows.
-
Tailor content display based on user preferences or behaviors. With data sets, you can craft dynamic content layouts that adapt to individual user segments, delivering personalized experiences.
-
Customize the actions available when browsing search results, like viewing detailed versions of profiles, changing workflow status, or editing records, all with respect to the user’s assigned permissions.
-
Use filters to enable users to refine their searches, based on properties like the creation year or department.
-
Using client extensions, present your data with custom filtering or rendering logic. For example, you can generate comprehensive analytics reports or personalized experiences for a custom data type.
By using data sets, you have more control over your data. Whether you’re displaying content on pages, personalizing experiences, or trying to make sense of a lot of information, data sets get the job done. Make data management easier with customizable data sets.
Take your data sets even further by integrating them with experiences and segments, so you can deliver exactly the right content to the right people at the right time.

Types of Data Sets
System data sets require Liferay version 2025.Q2+.
There are three types of data sets:
-
Custom data sets: Data sets created via the data set manager, where you select the API to source data from and customize the presentation.
-
Java-based data sets: Built-in data sets that appear for administrators by default. These include data sets for commerce accounts and placed orders.
-
System data sets: Customizable copies of Java-based data sets. The copies have similar customization options to custom data sets. You can only create one system data set per existing Java-based data set.
Custom data sets are handled internally as objects, whereas Java-based data sets are hard-coded OSGi components.
System data are customized versions of Java-based data sets. They are independent copies of the original Java-based implementation that you create. The system data set’s properties (such as its visualization modes, filters, and actions) are captured internally with objects, similarly to custom data sets.
