Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jacob 39 posts 88 karma points
    Nov 29, 2010 @ 16:21
    Jacob
    0

    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.

  • Matt Brailsford 2958 posts 15629 karma points MVP 7x c-trib
    Nov 29, 2010 @ 17:01
    Matt Brailsford
    1

    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

  • Jacob 39 posts 88 karma points
    Dec 01, 2010 @ 12:03
    Jacob
    0

    Hey Matt

    That helped me alot, got it working now.

    Thanks

    Jacob.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies