Question

I am trying to change the sort order of some of the content on my pages in Sitecore. The initial order was set up by a branch template, and now I want to modify it.

Modifying the content tab itself reorders the items (using the sort buttons on the shell), but when I modify the branch and publish, it doesn't update the content files' order.

I was wondering if there was a way to push the branch sorting onto the content, without having to modify each content page individually, since there are a lot of pages.

Thank you for your help!

Was it helpful?

Solution

You can do it programmatically by getting the sortorder field value of each branch item and applying to your content tree accordingly.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top