AEM Assets Default Sort | Community
Skip to main content
Level 2
Feb 11, 2019 9:17 PM UTC
Solved

AEM Assets Default Sort

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
antoniom5495929
antoniom5495929Accepted solution
Level 7
Feb 13, 2019 5:40 PM UTC

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

7 replies

New Participant
Nov 25, 2019 10:02 PM UTC

Hi,

Were you able to find a solution for this?

Translate
antoniom5495929
antoniom5495929Accepted solution
Level 7
Feb 13, 2019 5:40 PM UTC

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

Translate
edubey
Level 10
Feb 13, 2019 1:52 PM UTC

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

Translate
Gaurav-Behl
Level 10
Feb 12, 2019 4:55 PM UTC

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.

Translate
crazy4aemAuthor
Level 2
Feb 12, 2019 4:25 PM UTC

Is anyone else aware of a way to do this?

Translate
crazy4aemAuthor
Level 2
Feb 11, 2019 9:27 PM UTC

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?

Translate
smacdonald2008
Level 10
Feb 11, 2019 9:23 PM UTC

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

Translate