Page.listChildren() or data-sly-list=currentPage.listChildren to return sorted list

Avatar

Avatar

mohani57395378

Avatar

mohani57395378

mohani57395378

27-08-2019

Hi All,

I am recursively listing out all the sub pages from a path using data-sly-list=currentPage.listChildren. But its returning the list as per node structure, is there anyway we can pass some parameters to get a sorted list based on title or published date.

View Entire Topic

Avatar

Avatar

rampai

Avatar

rampai

rampai

29-08-2019

Hi mohani57395378​,

Please check this as well.

Best Way to Sort a List of Resources ?

Regards,

Ram