Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

How to order the folders in DAM left bar(TreeRoot) in CQ5?

Avatar

Level 4

Hi,

I have a requirement to order the folders in DAM Left Bar(Tree Root) by Name or Created Date. I found /bin/wcm/siteadmin/tree.json servlet called for getting the json data of the /content/dam node.

I want to see the servlet code and how the damadmin rendered and damadmin components path in CQ

Thanks.

1 Accepted Solution

Avatar

Correct answer by
Level 10
3 Replies

Avatar

Correct answer by
Level 10

Step by step instruction, example and source code reference at http://helpx.adobe.com/experience-manager/using/creating-custom-cq-tree.html

Avatar

Level 4

Hi Sham,

It looks good. But the steps given is to create a treeroot component.  I want to override the default treeroot in DAM admin for ordering the folder.

Any suggestion or example on how to override the DAM TreeRoot (Left Side bar).

Thanks.

Vikram

Avatar

Level 4

Hi Sham,

I did some modification in SiteAdminTreeServlet for sorting the treeroot and it works fine.

Thank you.