how to make tree alphabetical? | Community
Skip to main content
October 16, 2015
Solved

how to make tree alphabetical?

  • October 16, 2015
  • 3 replies
  • 901 views

Hi everyone, I was wondering how do you make the tree structure go in alphabetical order vs being by publish date?

I'm attaching the image. 

Thanks!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by aanchal-sikka

Please refer to this tool from ACS Commons

https://adobe-consulting-services.github.io/acs-aem-commons/features/sort-nodes/index.html

 

Sort Nodes is a tool to sort child nodes by node name or jcr:title, for example, to alphabetize pages or tags in Sites Admin. 

 

3 replies

aanchal-sikka
aanchal-sikkaAccepted solution
New Participant
December 10, 2023

Please refer to this tool from ACS Commons

https://adobe-consulting-services.github.io/acs-aem-commons/features/sort-nodes/index.html

 

Sort Nodes is a tool to sort child nodes by node name or jcr:title, for example, to alphabetize pages or tags in Sites Admin. 

 

Aanchal Sikka
smacdonald2008
New Participant
October 16, 2015

Out of the box - you cannot re-order the nodes in CRXDE Lite based alphabetical order. 

However -- you can use the JCR API to modify nodes. Create Java code that creates nodes based on an alphabetical order. 

See this community article that talks about using the JCR API:

http://helpx.adobe.com/experience-manager/using/programmatically-accessing-cq-content-using.html

To re-order them, create logic that reads the existing JCR repo location, order them, delete the old structure and create the new structure based on the order you want. 

October 16, 2015

Thanks a lot! Is it still the same case if this is not actually related to CRXDE lite but the "Websites" page in the Author environment? Sending an updated image