Creating and Managing Objects

Deleting Objects

Liferay 7.4 U26+/GA26+

You can delete draft and published object definitions. Deleting a definition removes its associated data, including the stored entries for published definitions.

Important

For versions before Liferay 7.4 U26/GA26, users cannot delete published object definitions.

If a definition has active relationships, you must remove them before you can delete the definition. See Removing Relationships for more information.

You must remove all active relationships before deleting an object definition.

To delete the definition,

  1. Open the Global Menu (Global Menu), go to the Control Panel tab, and click Objects.

  2. Click Actions (Actions Button) for the desired definition and select Delete.

  3. In the dialog window, enter the name of the definition and click Done to confirm.

    Enter the name of the object definition and click Done.

Replicating Deletions Between Environments

Liferay 2026.Q1+

You can also simplify deletions between multiple sites or Liferay instances by replicating deletions with LAR file exports.

See Exporting/Importing Object Definitions via LAR File for more information.