Introduce a configuration (e.g., max.children.per.folder) that defines the maximum number of child nodes (assets or subfolders) allowed within a given folder.
| Request for Feature Enhancement (RFE) Summary: | Introduce a configuration (e.g., max.children.per.folder) that defines the maximum number of child nodes (assets or subfolders) allowed within a given folder. |
| Use-case: |
AEM currently allows more than 1,000 assets (child nodes) to exist within a single folder. However, it’s well known that exceeding this threshold leads to significant performance degradation. To help our administrators effectively monitor and control within our environment, we request the addition of functionality that provides both preventive and diagnostic controls related to folder child limits. This request covers two main objectives: 1) Prevent Adding Assets Beyond a Configurable Folder Child Limit 2) Expose a Method to Identify Overpopulated Folders |
| Current/Experienced Behavior: | None |
| Improved/Expected Behavior: |
Requested Enhancements Introduce a configuration (e.g., max.children.per.folder) that defines the maximum number of child nodes (assets or subfolders) allowed within a given folder. Enforce this limit across all methods of asset ingestion or modification, including:
When the limit is reached, block additional assets from being created under that folder and return a clear, user-friendly error message (e.g., “Folder has reached its maximum capacity of 1000 assets. Please create or use a subfolder.”). 2. Expose a Method to Identify Overpopulated Folders Provide a reporting mechanism or API endpoint that identifies folders exceeding the configured child limit. This could be implemented in one or more of the following ways:
The output should include:
Rationale
|
| Environment Details (AEM version/service pack, any other specifics if applicable): | AEMaaCS |
| Customer-name/Organization name: | Walmart US Marketing |
| Screenshot (if applicable): | |
| Code package (if applicable): |