Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

AEM Assets Default Sort

Avatar

Level 2

Is there a way to change the default sort of files/folders in AEM Assets? As in, sort folders/files A-Z by default without having to List View>Title.

1 Accepted Solution

Avatar

Correct answer by
Level 7

Hi,

if you are using an ordered folder, the default sorting after upload your assets is the alphabetical sorting.

Unfortunately the root of the DAM "/content/dam" is not an ordered folder so the only way that you can use to have sorted assets without customize the interface is to create your ordered folder under the root.

Thanks,

Antonio

View solution in original post

7 Replies

Avatar

Level 10

List View in the TOUCH UI environment is how you sort the Asset view. You click the Column header:

ALIST.png

Avatar

Level 2

Thanks for the reply. I am aware of the sorting feature in List View. This requires that a user manually sort every time he opens the folder.

I was referring to setting a default. In other words, a way to select the default sorting behavior for files/folders across the entire DAM. Does such a thing exist?

Avatar

Community Advisor

This is the starting point for you to debug further - /libs/dam/gui/coral/components/admin/contentrenderer/card/asset  - asset.jsp and assetviewer.jsp

Overlay and customize per your requirements.

Avatar

Level 10

Its not available OOTB, as suggested by @gaurav, you have to customize JSP

Avatar

Correct answer by
Level 7

Hi,

if you are using an ordered folder, the default sorting after upload your assets is the alphabetical sorting.

Unfortunately the root of the DAM "/content/dam" is not an ordered folder so the only way that you can use to have sorted assets without customize the interface is to create your ordered folder under the root.

Thanks,

Antonio