Data Sets

Viewing Data Sets

Liferay DXP 2024.Q1+/Portal GA112+

Important

Currently, this feature is behind a release feature flag (LPS-164563).

Once you create a data set, add it to a page to present it to your users. Users can then use it per your configured options.

Adding a Data Set to a Page

Use the Data Set fragment to view a data set on a page.

  1. On any page, click Edit Edit icon.

  2. On the Fragments tab, expand the Content Display section.

  3. Drag the Data Set fragment onto the page.

    Drag the Data Set fragment onto the page to display your data set in.

  4. Click the Data Set fragment on the page.

  5. In the menu on the right, under Data Set View, click Add Add iconSelect Data Set View…

    Click the Add icon to choose your desired data set.

  6. Select your desired data set, and click Save.

The selected data set appears on the page.

The data set appears on the page in its default visualization mode (card, list, or table view). The available views, actions, filters, and sorting options depend on the data set’s configuration.

Preserving and Sharing How You View a Data Set

Liferay DXP 2024.Q1+/Portal GA112+

Changes you make to a data set-—-including filters, sorting, visible columns, page, search bar state, and visualization mode-—-are reflected in the URL.

When you navigate with the browser’s back or forward buttons, the configuration is preserved through the URL. Navigating away and returning via a link or menu item regenerates the URL, so the configuration is lost.

The selected filters and configurations are preserved in a list in parentheses, like this example URL of a data set showing page 2 with 40 items per page:

http://localhost:8080/home?com_liferay_frontend_data_set_sample_web_internal_portlet_FDSSamplePortlet-advanced_fdsConfig=(delta:40,page:2)
Important

Before Liferay DXP 2026.Q1, the URL shows parameters in a longer format that doesn’t condense your configuration into a short, readable list. Data set URLs after 2026.Q1 are not shareable with older versions.

To preserve your current view or share it with others, copy the page URL. Anyone who opens the copied link sees the same configuration and layout, though displayed data may vary depending on timing and permissions.

Note

Scroll position and column widths are not preserved. Only filters, sorting, visible columns, page, search bar state, and visualization mode are restored.