oo

Activating and Deactivating Objects

Custom objects are activated when published. While active, you can use the object to create entries via the Liferay UI or dedicated REST APIs. If needed, you can deactivate custom objects at any time.

This prevents users from creating or accessing its entries. While inactive, its data is unavailable, and you can only edit the object’s definition. If the object has relationships, it no longer appears in its related objects’ layouts. Additionally, the object does not appear in any integrated frameworks (e.g., permissions, workflow). This means that site elements referencing the object’s entries become blank.

Deactivating an object does not affect its data; it only prevents users from accessing it until the object is reactivated.

To deactivate or reactivate a custom object,

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

  2. Click the desired object. You cannot deactivate system objects.

  3. Under Object Data in the Details tab, toggle the switch to Active or Inactive.

    Switch the object to Active or Inactive.

  4. Click Save.

Feature: