Designing Object Views
Available Liferay 7.4+
Views define how entries appear in an object’s application page. Though each published object has an autogenerated view, you can create your own.
Follow these steps:
Open the Global Menu ( ), go to the Control Panel tab, and click Objects.
Begin editing a custom object definition, go to the Views tab, and click Add ( ).note
System objects do not support custom views. See Extending System Objects for more information.
Enter a name and click Save.
Click the new view to begin editing it.
In the Basic Info tab, check Mark as Default to set it as the default view for the object definition.
This ensures the view is used for the object’s application page. If no custom layout is set as default, the object uses its autogenerated layout.
Go to the View Builder tab and click the Add button ().
Check the fields you want to include in the view table and click Save.
Each selected field becomes a column in the view table. Available options include both custom fields and default system fields (i.e., ID, Author, Creation Date, Modified Date, and Workflow Status). However, custom views do not support columns containing multiple entries (e.g., relationships tables from one-to-many or many-to-many relationships)
Drag and drop fields to determine their order in the view table.
Once saved, the view table displays the selected fields. If desired, you can also rename and localize column display names, add a default sorting, and select which fields to use as table filters.
For 7.4 U21+, you can duplicate a view by clicking its Actions button ( ) and selecting Duplicate. This creates a complete copy of the original view with “(Copy)” appended to it’s name.