Creating Data Sets
Liferay DXP 2024.Q1+/Portal 7.4 GA112+ Beta Feature
Currently, this feature is behind a beta feature flag (LPS-164563).
You can create data sets from different resources available through Liferay Headless APIs. Use data sets to create and manage data set views and customize how you display your data set.
Creating a Data Set
-
Open the Global Menu (
), select the Control Panel tab, and click Data Sets under Object.
-
Click Add (
) and name your data set.
-
Choose the REST Application from a list of available options.
Some of these options enable a REST Schema field where you must select a schema from a list of available options.
NoteWhen there is only one option available for the REST schema and endpoint (e.g. object definitions and
/batch-planner/v1.0
), they are set automatically once you select the REST application. -
(When available) Choose a REST schema from a list of available options.
Some of these options enable a REST Endpoint field where you must select an endpoint from a list of available options.
If there is only one schema available, the option is selected automatically.
-
(When available) Choose a REST endpoint from a list of available options.
ImportantSome REST application options don’t have usable endpoints, and you cannot create data sets with those options (e.g.
/captcha/v1.0
and/data-engine/v2.0
). -
Click Save. The data set is created, and you can see all the information about it in the data set manager.
Data Set Manager
Once created, data sets appear in the data set manager. Use the application to view information and edit the existing data sets.
In the data set manager, you can find
- Search Bar (1)
- Name of the data set (2)
- REST Application (3), REST Schema (4), and REST Endpoint (5) applied to the data set
- Last time the data set was modified (6)
You can also click the arrow down icon (7) and search for a specific table field or check/uncheck the existing fields to show/hide them in the table.
Edit, alter the permissions, or delete your data set using the data set’s Actions menu ()(8):
Edit: While editing a data set, you can create and manage data set views. Alternatively, click on the name of the data set to edit it.
Permissions: Select the permissions you want to assign and click Save.
Delete: Click Delete to delete your data set.