Documentation

Extending System Objects

Available Liferay 7.4 U35+ and GA35+

With Liferay Objects, you can extend supported system services. Currently, only these services are integrated with the Objects framework: Account, Commerce Order, Commerce Product, Commerce Product Group, and User. Liferay also provides the Postal Address system Object for storing address information and relating it to other Objects.

Extend system services integrated with the Objects Framework.

When extending system Objects, you can add relationships and actions to them.

Feature

System Objects

Custom Objects

Fields

Relationships

Layouts

Actions

Views

Validations

Adding Relationships

You can create relationships between system and custom Objects to link their entities. System Objects support both One to Many and Many to Many relationships. See Defining Object Relationships for more information.

Important

Since system Objects don’t support custom layouts, you cannot add layout tabs to the Object for displaying Many to Many relationships or the parent side of a One to Many relationship.

Adding Actions

You can add custom actions to system Objects that are triggered when entries are added, updated, or removed. This includes both Webhook and Groovy Script actions. See Defining Object Actions for more information.