cancel
Showing results for 
Search instead for 
Did you mean: 

How to sort_by path

witho
Champ on-the-rise
Champ on-the-rise
Hi,

I need to show the documents in doclist sort by path, I've tried to sort them by their parent's name but I've not found the way to do it, could anyone help me?? I was looking for some property that contains the path or the url to the node (space / content) but I've not found this either.

Thanks a lot!!!
2 REPLIES 2

andy
Champ on-the-rise
Champ on-the-rise
Hi

You would have to do this yourself. You can get the path(s) from the nodeServcie.

Andy

witho
Champ on-the-rise
Champ on-the-rise
Hi,

Finally I soved my problem just using the property "displayPath". I managed to sort the documents using ?sort_by('displayPath') instead using ?sort_by('name').

Thanks!!!