Collections page loads slowly or fails for non-admin users in AEM Assets

This article describes how to resolve an issue where non-admin users experience slow or failed loading of the Collections page in Adobe Experience Manager (AEM) Assets by optimizing filtering logic and deploying a compatible custom Collections index.

Description description

Environment

  • Adobe Experience Manager as a Cloud Service
  • Experience Manager Assets
  • Collections

Issue/Symptoms

  • Non-admin users can’t load the Collections page, or the page takes an extremely long time to load.
  • Administrators and certain privileged users don’t experience the issue.
  • The Collections page displays an endless loading spinner or a blank screen.
  • Non-admin users experience noticeably degraded performance when accessing the Collections page.

Cause

Inefficient query and index behavior during permission-based collection filtering causes excessive node traversal or inefficient queries for non-admin users. As a result, the Collections page loads slowly or fails to load.

Resolution resolution

Follow the steps below to resolve the issue:

  1. Review the Collections filtering logic in the AEM implementation and verify that the queries are optimized for non-admin user permissions.
  2. Work with the development team to verify that the permission filters don’t cause excessive node traversal or inefficient queries.
  3. Develop and deploy a compatible custom Collections index that supports the organization’s permission and usage patterns.
  4. Verify that the custom index efficiently supports the filtering logic used for non-admin users.
  5. After deploying the custom index, remove any temporary or legacy Lucene collection indexes from the environment to prevent conflicts.
  6. Sign in as a non-admin user and open the Collections page.
  7. Verify that the Collections page loads promptly and displays the expected content.
  8. Monitor the environment for additional performance issues or errors related to Collections access.
recommendation-more-help
experience-cloud-kcs-help-kbarticles