Context/Problem
Liferay interfaces aimed at displaying data are too rigid for the user. They show a predefined set of information items, with one or more layouts (cards, table) and some filter/sort options. However, in case of need to modify how this information is displayed it is needed to involve IT for custom developments. Users can not properly customize them to display the data they need to do the job, so they’re forced to do the same operations to build the view they want over and over again, or rely on code customizations.
Desired outcomes
The goal of this feature is to enable users to customize what to be shown in a data view via UI. This means that users can quickly locate and access the data they need, streamlining their workflows and enhancing overall efficiency.
What we have done
We have developed a new application, named “Data Set Manager” that allows administrators to define through a UI data set views for the different headless resources available. Admins will be able to choose the data source, as well as configure the columns to be available and the pagination options for the different views.
In addition to the data set manager, two additional components have been added to provide the full value to the users:
-
A new fragment, so this views can be integrated in any content page. Content managers will select the data set view to display on each fragment.
-
A new frontend client extension, Frontend Data Set Cell Renderer, that allows developers to customize how any field of the data set view is rendered, providing total control of the look and feel of any column.
Demo & Additional Resources
To enable this feature:
- Add feature.flag.LPS-167253=true to your
portal-ext.properties - Go to Instance settings > Feature Flags and enable “Data set manager” in the Beta tab.