sites.html console, add another view button for sorted columns | Community
Skip to main content
Level 6
November 21, 2022
Solved

sites.html console, add another view button for sorted columns

  • November 21, 2022
  • 1 reply
  • 1996 views

I found out how to sort the sites.html console Column View by modified date and name (and some other options are available too) from

http://aem-dev.blogspot.com/2016_08_01_archive.html

 

However I wish to allow the user the options of a Column view sorted by modified date AND a Column view sorted by name.

I tried copying /libs/wcm/core/content/sites/jcr:content/views/column to the same place in /apps and changing the name to columnSorted, the jcr:title to "Column View(Sorted by name)" and adding sortDir and  sortName to the datasource.

 

It did show up as an option, but it didn't seem to show the child pages sorted as I expected.

 

Any ideas from anyone on what I'm missing ?

 

thanks

Fiona

 

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 fionas76543059

Thanks Arun,

I figured out that on my "new" view columnSortedMain, I needed to change

the copied src parameter to the new one.

Now my new view (which has the appropriate sortDir and sortName set on the datasource) is good.

src=/mnt/overlay/wcm/core/content/sites/jcr:content/views/columnSortedMain.html

1 reply

arunpatidar
Community Advisor
Community Advisor
November 21, 2022
fionas76543059AuthorAccepted solution
Level 6
November 21, 2022

Thanks Arun,

I figured out that on my "new" view columnSortedMain, I needed to change

the copied src parameter to the new one.

Now my new view (which has the appropriate sortDir and sortName set on the datasource) is good.

src=/mnt/overlay/wcm/core/content/sites/jcr:content/views/columnSortedMain.html