Save the sort settings in the list view on the author

Avatar

Avatar

samery56615784

Avatar

samery56615784

samery56615784

31-12-2020

Hi Experts,

 

We have a requirement to save the sort settings in the list view on the author (as in aatched screen) so that a user who frequently uses the same sort can return to those settings. For example, if a user sorts according to "size," the user will see that sort as a default when they return to list view. The saved sort can be per-user or per user groups

Can you help with how we can do t in AEM author?

 

Thanks

S~

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

shelly-goel

MVP

Avatar

shelly-goel

MVP

shelly-goel
MVP

31-12-2020

@samery56615784 

There wouldn't be any settings for default sort and customization would be needed. If you create a sling:OrderedFolder, then it will have default sort (ascending) for assets under it based on name/ title of the asset but not on size.

For default sort on size, you could create a sling filter to intercept the request and then sort based on size field. Below link shows default sorting on node name (you can modify it for size)

http://experience-aem.blogspot.com/2018/11/aem-6420-add-sort-by-name-type-in-assets-list-view-defaul...

You can refer to below post as well which provides another overlay option: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-assets-default-sort/qa...

 

Answers (0)