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 2025.Q2+/GA135+

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

Note

Exporting and importing instance-scoped object definitions requires a developer feature flag. Set feature.flag.LPD-35914=true to enable the Export and Import options in the Applications menu.

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

Capabilities

Product

Education

Contact Us

Connect

Powered by Liferay
© 2024 Liferay Inc. All Rights Reserved • Privacy Policy