I am trying to change the order of some elements in my content tree but it does not seem to do what I want.
For some reason when I look at the sortorder on the documents they are 0.
If I look at the corresponding node then the sortorder is set correctly. If I wanna set the sortorder from code I tried setting the sortorders on the documents and then republishing, but it does not seem to alter the order in the content tree.
Changing sortOrder on Documents/Nodes
Hello
I am trying to change the order of some elements in my content tree but it does not seem to do what I want.
For some reason when I look at the sortorder on the documents they are 0.
If I look at the corresponding node then the sortorder is set correctly. If I wanna set the sortorder from code I tried setting the sortorders on the documents and then republishing, but it does not seem to alter the order in the content tree.
Some inputs would be nice.
Hey Jacob,
Why not take a look at the source to my Document Sorter package, it may give you some idea on where to start:
http://documentsorter.codeplex.com/SourceControl/changeset/view/253cca0ef00f#ApplicationBase.cs
Matt
Hey Matt
That helped me alot, got it working now.
Thanks
Jacob.
is working on a reply...