ナレッジベース
公開されました Jun. 30, 2025

Sorting Structures by Name in Liferay DXP

written-by

Jose L. Bango

knowledge-article-header-disclaimer-how-to

knowledge-article-header-disclaimer

Issue

  • The order of Structures when creating Web Content seems to be random. The structures are not sorted alphabetically or by modification date.

Environment

  • Liferay DXP 2024.Q2

Resolution

Web Content Display widget

  1. Go to Control Panel > Instance Settings > Content and Data > Web Content > Web Content Display.
  2. Enable the Sort Structures by Name checkbox.

This sorts structures alphabetically in ascending order. Otherwise, they are sorted by ID.

As explained in the setting description, enabling this might impact performance depending on the number of structures, as sorting happens in memory.

Web Content Administration

You can select your desired order the "More" dialog that appears once you have several structures. This order is persisted.

 

did-this-article-resolve-your-issue

ナレッジベース