Expand my Community achievements bar.

SOLVED

AEM Assets - Content Tree alphabetical sort by name?

Avatar

Level 4

Hello -- Is there a way to get the Content Tree view in AEM Assets to appear in alphabetical order by folder/asset name? Clicking Sort By and ascending/descending order only sorts the actual folder/assets, but doesn't affect the Content Tree.

 

AEMaaCS version 2023.4.12142.20230526T152858Z

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Short answer NO.

But here are some options:

 

1) You could use sling:OrderedFolder nodes instead of regular nt:folders. This will keep the order of how the assets/folders are created organized, this may be helpful. You can check this for more info https://stackoverflow.com/questions/31365528/difference-between-ntfolder-slingfolder-slingorderedfol... 

Esteban666_0-1686160402131.png

 

2) You will have to overlay that functionality to re-order prior to rendering the results.



Esteban Bustamante

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Short answer NO.

But here are some options:

 

1) You could use sling:OrderedFolder nodes instead of regular nt:folders. This will keep the order of how the assets/folders are created organized, this may be helpful. You can check this for more info https://stackoverflow.com/questions/31365528/difference-between-ntfolder-slingfolder-slingorderedfol... 

Esteban666_0-1686160402131.png

 

2) You will have to overlay that functionality to re-order prior to rendering the results.



Esteban Bustamante

Avatar

Level 4

@EstebanBustamante Thank you for the reply with some options to try. I'll see what I can figure out.