ÃÛ¶¹ÊÓÆµ

Fix content tree sorting in ÃÛ¶¹ÊÓÆµ Experience Manager

When a directory in ÃÛ¶¹ÊÓÆµ Experience Manager (AEM) exceeds 1,000 folders, sorting behavior changes unexpectedly. Modify the query configuration to restore alphabetical sorting.

Description description

Environment

  • Product: ÃÛ¶¹ÊÓÆµ Experience Manager (AEM) as a Cloud Service - Assets
  • Environment Type: Production
  • Applicable Scenario: Directories containing more than 1,000 folders

Issue/Symptoms

  • Folders are sorted by creation date instead of name.
  • Only the most recently created folders are visible.
  • The Load more  functionality is replaced by query-based sorting.

Resolution resolution

Note:

  • Reducing the folder count below 1,000 will revert sorting to natural repository order.
  • Always back up configurations before making changes.
  • Test changes in a lower environment before applying them to production.

To restore alphabetical sorting:

  1. Navigate to /libs/dam/gui/content/assets/jcr:content/contenttree/datasource within your AEM instance.
  2. Overlay this node and modify its configuration to set sortName to name. For steps, refer to Overlays in AEM as a Cloud Service.
recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f