Creating Data Sets

Liferay DXP 2024.Q1+/Portal 7.4 GA112+ Beta Feature

Important

This feature is currently 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

  1. Open the Global Menu (Global Menu), select the Control Panel tab, and click Data Sets under Object.

  2. Click Add (Add button) and name your data set.

  3. 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.

    Choose a REST application, Schema, and Endpoint to create your data set.

    Note

    When 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.

  4. (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.

  5. (When available) Choose a REST endpoint from a list of available options.

    Important

    Some 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).

    A message is shown when there are no usable endpoints available.

  6. 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.

Information about the data sets is shown in the data set manager. Search, filter, and manage your data sets using the data set manager.

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
  • Number of data set views (6) for that specific data set
  • Last time the data set was modified (7)

You can also click the arrow down icon (8) and search for a specific table field or check/uncheck the existing fields to show/hide them in the table.

Use the filter to show/hide fields in the table.

Edit, rename, alter the permissions, or delete your data set using the data set’s Actions menu (Actions menu)(9):

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.

Rename: Rename your data set and click Save.

Permissions: Select the permissions you want to assign and click Save.

Delete: Click Delete to delete your data set.

Use the Actions menu to manage your data set.

Ask

Capabilities

Product

DXP

Contact Us

Connect

Powered by Liferay
© 2024 Liferay Inc. All Rights Reserved • Privacy Policy