Managing Elements
To create new Elements, click Add (). See Creating Elements for more details.
As of Liferay DXP 2023.Q4+, the title and description fields are localizable. To provide translations, use one of these approaches:
-
After the element is created, re-open the title and description modal, then select the language and begin translating.
-
Use the Language Override application to provide a language key (e.g.,
search-for-new-content
) and its translated values (e.g., Search for New Content in the English translation).
To delete existing custom Elements, select the Element(s) using the checkbox selector and click the Delete () button.
System Elements (i.e., out-of-the-box) cannot be edited or deleted. Copy a system Element if you want to base a custom Element on it.
To duplicate an existing Element, click Actions () and select Copy. You can delete or edit the duplicated Element just like any other custom Element.
To export an Element, click Actions () for the Element and select Export.
To import an Element, click Actions () in the top corner of the screen (next to the Global Menu icon). Click Import and browse to the Element’s JSON file.
The Element schema can change. If the schema changes between Liferay versions, importing an older Element’s JSON may fail.