Category List/Tree View Sort Order

What determines the sort order for the folders in the Category/Tree view Lists?
I have two machines both at SP1 FP3, one displays Favorites and then Add-Ons, the other displays Favorites and then Charts, with Add-Ons coming at the bottom of the list.
Any ideas, another registry fix?
Thanks
Charles

Hi pianoboyCoder,
You could loop the treeNodes in the treeView. then move the Node whose text begin with "Red" to bottom.
I wrote a test program for you. you could refer to .
int upper = this.treeView1.Nodes.Count;
TreeNode Temp;
for (int Outer = upper-1; Outer >= 1; Outer--)
for (int Inner = 0; Inner <= Outer-1; Inner++)
if (treeView1.Nodes[Inner].Text.StartsWith("Red"))
Temp = treeView1.Nodes[Inner];
treeView1.Nodes[Inner] = treeView1.Nodes[Inner + 1];
treeView1.Nodes[Inner + 1] = Temp;
If you have any other concern regarding this issue, please feel free to let me know.
Best regards,
Youjun Tang
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • IDCS5 Win: Panel Tree View sort order

    Hello everyone:
    I have a panel tree view that is displaying document names in a backward sort order.   When I say that I mean that the sort order is as so:
    5
    4
    3
    2
    1
    as opposed to
    1
    2
    3
    4
    5
    I have stepped through the code and in the Adapter, they are geting placed into the string list in the latter order i.e. 1,2,3,4,5).  What could be causing this reverse sort order?
    R,
    John

    Yes, if the Track Number field is empty in the File Info dialog, for all files in the Files panel, then Audition will revert to "Recent Access" sorting.
    There is no relationship between this File Info: Track Number, and the track number you see in the CD View.
    I understand your confusion. However, note that it is possible to add the same file (from the Files panel) to the CD View track list. So imagine you have "My Song.wav" in the Files panel. And then added it to the CD view track list at track positions 1, 3, and 5. If we were to sort the Files panel by track number as they appear in the CD View, then which track would be associated with "My Song.wav"? Track 1, 3, or 5?
    This feature was added primarily as an enhancement to the typical CD ripping (File > Extract Audio From CD) workflow. After ripping audio tracks, the resulting files that appear in your Files panel will be tagged with a Track Number. It is usually handy to sort by this CD track title rather than by filename or other sorting option.

  • Update all views sort order in a list using powershell

    I have a column "Employee Name" in my Lists/Library of my sitecollection ,
    I need to update Sort order of all views of that  lists and library to be sort alphabetically by "Employee Name" .
    I have already some filters applied on these views.I dont want these to get effected.I want to change only the sort order to be based on "Employee Name" column.
    Any pointers on how to achieve this by Powershell will be helpful

    Hi,
    The following PowerShell script for your reference:
    $webURL = "http://siteurl";
    $listName = "ListName";
    $web = Get-SPWeb $webURL;
    $list = $web.Lists[$listName];
    $views= $list.Views;
    for ($i = 0; $i -lt $views.Count; $i++)
    $view=$views[$i];
    $view.Query = '<OrderBy><FieldRef Name="Employee_x0020_Name"/></OrderBy>';
    $view.Update();
    $list.Update();
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Calendar List View Sort Order

    If I have two appointments set to the same time and length on the calendar, the sort order on the "month" view is sorted based on the title (this is great and what I am looking for). If I go to the "day" view or the "list" view the sort order appears to be random. I have tried to figure out what the sort order is for the list view and the day view but no luck.
    I am using a second calendar in Outlook for tasks and setting all items to the same time and length. I can then create a task list that syncs to the iphone. Just can't get the sorting figured out.

    Hi,
    I have the same issue since one week ago (iPhone 3GS, iOS 4.0.2).
    Only 2 calendars on my Exchange mailbox are synced. Items show correctly on the day and month view, but in list view (which I use most), some of them appear under a wrong date. Annoying !
    After restart and/or remove/add of calendars, list view takes a long time to 'load'. switching to day view and the back to list makes it appear (but unfortunately with the same problem).
    Greetz,
    Philip

  • How to make Tree View sort-able-"ICCMP_INBOX/InboxItems"

    Dear Expert,
    Does anyone knows how to activate sort functionality in Tree View.
    E. G.:
    I am using the component "ICCMP_INBOX" which includes the view: "ICCMP_INBOX/InboxItems" But in the search result is is not possible in standard to sort the list as in the 'normal' List result view.
    How to that?
    For information my view is configured as follow:
        <chtmlb:configTree id                    = "ItemTree"
                           actionsMaxInRow       = "9"
                           nodeTable             = "<%= Items->node_tab %>"
                           nodeTextColumn        = "NODE_NAME"
                           onCollapseNode        = "nodeCollapse"
                           onExpandNode          = "nodeExpand"
                           onRowSelection        = "nodeSelect"
                           selectionMode         = "<%= Items->SELECTION_MODE %>"
                           selectedRowIndex      = "<%= Items->selected_index %>"
                           selectedRowIndexTable = "<%= Items->selection_tab %>"
                           ajaxDeltaHandling     = "FALSE"
                           type                  = "COLUMN"
                           table                 = "//Items/Table"
                           personalizable        = "FALSE"
                           downloadToExcel       = "FALSE"
                           headerText            = "<%= otr(crm_ic_appl/ResultList) %>"
                           rowCount              = "<%= controller->gv_row_count %>"
                           height                = "100%"
                           iterator              = "<%= Items->iterator %>"
                           actions               = "<%= lv_buttons_tab %>"
                           visibleRowCount       = "20" />
    Thank you very much in advance.
    Ahmed Hadi
    Edited by: Ahmed Hadi on Oct 13, 2009 5:23 PM

    Hi,
    I "solved"  my problem with  using some not-used   fields  based on the  Configuration Key.  Not nice but it works.
    I think it should normaly  work with adding fields on  structure   crmst_inbox_resultlist   but this is  **.   In other screens that solution works good.
    see   ->  get_table_line_sample
    TYPES: BEGIN OF line,
    INCLUDE TYPE crmst_inbox_resultlist.
                node_name        TYPE string,
    Anyway thanks for your reply.
    Regards,
    Jeroen

  • CS6 Icon View Sort Order

    Is there a way to change the sort order in Icon view?   I want it to adheire to what ever sort order I had in column view, so that i can see clips from multiple cameras in timecode order next to each other, but instead I seem to get all the clips from one camera, then the next camera and so on.  
    It's making it almost useless for skimming through clips in chronological order from multiple cameras.
    What am I missing?
    Is this yet 'another' feature request I'm going to have to make?

    I don't think I'd have it set up to select clips, I just can't think of a situation where I'd want some items in a bin organised but others not. Right click on background of bin  with a contextual menu. Mosty I'd want to sort by name, timecode, online/offline, and possibly codec (for splitting up proxies versions from camera originals). People could always copy their bin before sorting it, so they could have one organised as a storyboard and another organised in... well... a good way, is how I'd put it!
    What if the items on the contextual menu were definied by the list headings a user had set up in List View? That way if someone had some strange criteria they needed to sort by they could add it, but would also be able to keep the length of the menu in check if needed? Customisable yet contained.
    And definitely the ability to add keyboard shortcuts for the various sort functions. More keyboard shortcuts in general please! Track patching would be great. And there's a lot of functions that need the particular panel they relate to to be highlighted before the keyboard shortcut works.... I would LOVE if this went away. If I hit the key for Toggle All Target Video On, I pretty much want it to just turn on the target video, and I'd really love it to do it without having to click on the sequence first. Lots of examples of this sort of thing, basically anything that's a "panel" function. Some of it is just kooky, for example I have "Source Clip: Previous" mapped as a shortcut key. When I hit this key, of course it relates to the Source monitor! Having to bring up the source monitor AND THEN hit the keyboard shortcut is just unnecessarily cumbersome, and often ends up in a situation where it's not just an extra keystroke, it's several extra keystrokes because you end up having to bring up a panel to do a function, and then bring up the previous panel to be able to continue what you were doing. Lots of extra keystrokes that I think could easily be made more efficient. I've submitted a request for this as well, I called it Keyboard Shortcuts Should Always Work. (Sorry, kind of wandered off topic there).

  • All Projects view - Sort Order

    Is there a way of changing the sort order of the All Projects view - either to name order, or custom rather than the way it seems at the moment - time of project creation from oldest to newest?
    Jason

    I am also looking for a way to do this. When you have 300 projects, it's annoying to always have to scroll down to the bottom every time you click into projects view. I wonder if there is a hidden preference or something like that. Can anybody help?

  • Update a list item based sort order of created by column value

    HI
    using powershell script how to sort a list column before update a list  item.
    here i created a document library and uploaded some documents and update ProcessNo column based sort order of created column
    value.
    Add-PSSnapin Microsoft.SharePoint.PowerShell -EA SilentlyContinue
    $webURL = "http://tspmcwfe:91" $listName = "Courts"
    Get the SPWeb object and save it to a variable
    $web = Get-SPWeb $webURL
    $list = $web.Lists[$listName] 
    $items = $list.items
    Go through all items
    foreach($item in $items)
    $item["ProcessNo"] = 1
    $item.Update()
    $web.Dispose()

    Hi,
    According to your description, my understanding is that you want to sort the list items order before updating items using PowerShell.
    I suggest you can use the Sort-Object command to sort the list items.
    Here are some detailed articles for your reference:
    Better SharePoint Lists and List Items in PowerShell
    Sort-Object
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Change in maintanence view sort order

    I have a requirement where i need to change the sort order of the way the data is displayed in the view.
    Ex if the primary key has A,B,C and D. the data is sorted in the order A,B,C and D but i need to show the sorted data as per B,C and D without changing the key of the table.The client want use a variant. can someone tell where in the screen can i change the code for this.
    Thanx

    I don’t think so , There’ll be any setting in table. What you can do , you can go to table Maint. generator -> Modification and in source code you can sort on the basis of user requirement .
    This is the only possibility I can think of ...
    Hope this’ll help you .
    Thanks

  • BOBJ 6.5 - Infoview - Bespoke Document View Sort Orders

    Hi,
    Can anyone confirm if it is possible to define a custom sort order of the documents displayed under corporate documents e.g. name asc and date desc and independantly the categories defined within with different sort orders. Obviously document naming conventions may be the way to go without - but I am looking at a legacy where there is no consistency, changes are required and if there is short-path to a solution. Any help appreciated.
    Thanks in advance
    Roy

    Hi Ted!
    Thanks for the reply and suggestions.  I don't know if there is a different version of the viewers folder that I should be using but I am using the ones from this folder:
    C:\Program Files\Business Objects\Common\4.0\crystalreportviewers12
    That said, I didn't see anything amiss in Fiddler and when I looked in Firebug at the script portion where it was constructing the FlexParameterUI panel, I could see where it was capturing the report parameter names and prompts.  I decided to rip out all the parameters out of my report and voila, it loaded up fine in the viewer.
    I then added a new string parameter giving it a simple short name (Test1) and, initially, I did not use this parameter in the report.  It loaded up in the viewer just fine too.
    I then added the parameter to the report header and I was back to the same problem - it would not load in the viewer and the error was the same as the subject line shows.
    For the record, I am using Crystal Reports 2008 v12.2.0.290
    So is there some other crystalreportviewers12 that I should be using?
    Kind regards,
    Evan

  • Folder list - tree view

    I'm trying to build a tree view of an account's folders but I keep
    running into a problem no matter which approach I take. In the code
    snippet below I'm using the PopulateTree method recursively to add
    nodes to the tree view. This works using the .NET GW API but when I
    use SOAP it seems that I get my root folder, my Mailbox (which is
    immediately below my root folder) but when the function recurses
    against what should be a different list of (sub-) folders I end up
    with the root and Mailbox folders in the next call to PopulateTree.
    I've also tried doing the first level inline with the initializing
    code, calling PopulateTree against each of the folders in the first
    level as the parent folders but I still seem to only get the root
    folder and Mailbox again within the foreach loop of the PopulateTree
    method. Otherwise, I can list all the folders in a text string if I
    ask for a recursive listing.
    treeFolders.Nodes.Clear();
    PopulateTree(treeFolders.Nodes[0], "Folders");
    private int PopulateTree(TreeNode parentNode,
    string parentFolderID)
    WR.getFolderListRequest flreq =
    new WR.getFolderListRequest();
    flreq.recurse = false;
    flreq.parent = parentFolderID;
    WR.getFolderListResponse flres =
    ws.getFolderListRequest(flreq);
    if (flres.status.code != 0) return flres.status.code;
    TreeNode localNode;
    int folderCount = flres.folders.Length;
    foreach (WR.Folder folder in flres.folders)
    localNode = parentNode.Nodes.Add(folder.name);
    PopulateTree(localNode, folder.id);
    localNode = null;
    return 0;

    Right call it once recursive, and then cache in Map or similar structure.
    On 12/20/2012 5:58 AM, Preston Stephenson wrote:
    > There are issues with certain folders. You really should only call
    > getFolderListRequest the one time doing recurse true. You should
    > cache the results. You can build u a tree view with the results.
    > At least that is what I do.
    >
    > Preston
    >
    >>>> On Wednesday, December 19, 2012 at 8:48 AM, Lilith<[email protected]>
    > wrote:
    >> I'm trying to build a tree view of an account's folders but I keep
    >> running into a problem no matter which approach I take. In the code
    >> snippet below I'm using the PopulateTree method recursively to add
    >> nodes to the tree view. This works using the .NET GW API but when I
    >> use SOAP it seems that I get my root folder, my Mailbox (which is
    >> immediately below my root folder) but when the function recurses
    >> against what should be a different list of (sub‑) folders I end up
    >> with the root and Mailbox folders in the next call to PopulateTree.
    >>
    >> I've also tried doing the first level inline with the initializing
    >> code, calling PopulateTree against each of the folders in the first
    >> level as the parent folders but I still seem to only get the root
    >> folder and Mailbox again within the foreach loop of the PopulateTree
    >> method. Otherwise, I can list all the folders in a text string if I
    >> ask for a recursive listing.
    >>
    >> treeFolders.Nodes.Clear();
    >> PopulateTree(treeFolders.Nodes[0], "Folders");
    >>
    >> private int PopulateTree(TreeNode parentNode,
    >> string parentFolderID)
    >> {
    >> WR.getFolderListRequest flreq =
    >> new WR.getFolderListRequest();
    >> flreq.recurse = false;
    >> flreq.parent = parentFolderID;
    >>
    >> WR.getFolderListResponse flres =
    >> ws.getFolderListRequest(flreq);
    >>
    >> if (flres.status.code != 0) return flres.status.code;
    >>
    >> TreeNode localNode;
    >> int folderCount = flres.folders.Length;
    >> foreach (WR.Folder folder in flres.folders)
    >> {
    >> localNode = parentNode.Nodes.Add(folder.name);
    >> PopulateTree(localNode, folder.id);
    >> }
    >> localNode = null;
    >>
    >> return 0;
    >> }

  • Ical reminders list won't sort on iphone

    ICal Reminders won't sort on the actual device it was intended for - the Iphone
    I just talked to Apple Express service over this problem.  I went to the trouble of transferring my to-do list onto icloud Reminders - where each item asked for a priority ranking and where you are then given options for how to sort  all the Reminders you entered - so that it can actually be useable as any Calendar/time management system would be.   I chose "by priority" of course, but you can also choose alphabetically, etc.  It must be said, at least to Apple, apparently, that the point of doing all this is so that the Reminders are available on your actual device - my iphone.  The Reminders all synced immediately to the Iphone.  However, the Reminders list is an unsorted jumble on my iphone.  Even when I tap out a Reminder on my iphone itself and choose a priority, the item remains at the bottom of the list as the last thing I typed in.  Apple Express Support "explains" that the priority ranking and the sorting choices are "not supported" on the device you want to use them on - the iphone.   They offered me "an article" that explains this in detail.   In other words, engaging with the Reminder function and choosing priorities and choosing sort orders is all just a cruel joke wasting your time.  I would have been better off just printing off my Reminders list on paper and circling the high priority items in red ink.  Oh - but you can't print it out either.
    Unbelieveable.  Apple's ICal Reminder function actually and actively leads you to engage with completing details and choices that don't even function, or in other words - aren't "supported" on the Apple device they are stated to be designed for.  Is there a device on which this function is actually supported?  "Not at this time"
    The only way to have your to-do list sorted on the iphone is to assign a calendar date for each one of them and then they only appear on that specific date.  You would not be able to view your whole list in anything other than the order you happened to enter the items.  No calendar/time management system I know of makes you put a date on every item in a  task list - some tasks have a due date, but most don't.  And every calendar/time management system allows you to sort your list, or view your list in a sorted order.   And print it out also.
    Apple advertises this Icloud Ical/Reminders system as a time managment tool and fails to tell us that vital functions don't even work on your iphone.

    Hello Christiansted,
    Welcome to the Discussions Boards.
    In addition to shuffle, you probably have repeat enabled. When you tap the screen or cover art while playing a song, the scrubber bar has the Shuffle button at the right end and the Repeat button at the left end.
    If the circular arrows are blue, it will repeat the album or playlist.
    If the circular arrows have a small number 1 on them, it will only repeat one song
    If they are white, Repeat is off.
    The User's Guide explains this on page 63:
    http://manuals.info.apple.com/enUS/iPhone_UserGuide.pdf
    Hope that helps,
    Charles H.

  • Sort order reminders

    I have noticed that if you order you reminders lists. The sort order you choose isn't the same as they are displayed.

    Just discovering for myself that re-ordering reminders can be achieved - but order is not synced between devices or shared accounts. Which is to say it's about as much use as a chocolate teapot.
    For the record, I have thrown the equivalent of a message in a bottle to feedback - an action for which I believe the acronym is CWOT.
    Also, it seems there's a thing called customer quality feedback...
    Visit our Customer Quality Feedback (CQF) site at: http://www.cqf.apple.com/
    However, it doesn't work...
    Alas, it seems the writing is on the wall for Apple.

  • Sort order in list wrong: in CAML and in view

    Hello,
    When I order my list with document sets by ID, the order is wrong. It is wrong in the list and with caml.
    This is my view (I just set the sort on the ID column):
    The first 4 objects are created by the Client Object Model; the last 4 are created by a SharePoint webpart that I developped myself...
    My code for creating document sets in COM is something like this:
    ListItemCreationInformation newItemInfo = new ListItemCreationInformation
    UnderlyingObjectType = FileSystemObjectType.Folder,
    LeafName = _strLeafname // = date in format YYYYMMDDhhmmss
    ListItem newListItem = myList.AddItem(newItemInfo);
    newListItem["ContentTypeId"] = targetDocumentSetContentType.Id.ToString();
    newListItem["Title"] = title;
    newListItem.Update();
    clientContext.Load(myList);
    clientContext.ExecuteQuery();
    The code in the webpart is this:
    SPContentType docsetCt = myLst.ContentTypes[p.GetFromResourcefile("xxxxxxxxxxxxxx")];
    Hashtable properties = new Hashtable
    {"DocumentSetDescription", ""},
    {"Title", txtTitle.Text}
    SPFolder parentFolder = myLst.RootFolder;
    int newId = GetLastId(myLst) + 1;
    DocumentSet ds = DocumentSet.Create(parentFolder, newId.ToString(CultureInfo.InvariantCulture), docsetCt.Id, properties, true);
    ds.Item["Title"] = title
    ds.Item.Update();
    why is the sort order wrong?
    if i do this query in the U2U Caml builder, the order is also wrong
    <OrderBy><FieldRef Name='ID' Ascending='FALSE' /></OrderBy>
    if i order by "created", the order is also wrong....
    i don't get it....

    Document Sets are great tools for grouping multiple documents together. However, if every set has exactly one document, it would be better to just upload the file and not place it within a Document Set:
    Uploading documents using object model - http://msdn.microsoft.com/en-us/library/office/ms454491(v=office.14).aspx
    Uploading documents using web services -
    http://cecildt.blogspot.com/2010/10/upload-documents-to-sharepoint-2010.html
    If you have requirements to use Document Sets, keep in mind that this adds a layer of complexity beyond a simple Document Library. Behind the scenes, each Document Set is treated as a separate folder, and although can you query items within it, there might
    be extra steps for getting the sort order to ignore the folder structure. Can you try setting the Scope to be "Recursive" and also specify that you are looking only for files and not folders:
    <Eq><FieldRef Name='FSObjType'/><Value Type='Lookup'>1</Value></Eq></Where>
    Dimitri Ayrapetov (MCSE: SharePoint)

  • Sort order switches when changing from List to Thumbnail View

    I can't seem to get the Thumbnail view to "lock" to the same sort order as the list view.  I arrange by file name (or ingest date, or reverse media duration, or any of the other sortable metadata fields) in list view, but then when I click to the thumbnail view, the order seems to arbitrariliy change to some sort of preset.  What's worse, it appears to be changing to something that's in a jumbled order. 
    This isn't a big deal if I only have 10 clips.  If I have 100, or 1,000 clips though, they have to be in a sortable order for the thumbnail view to be of any use.
    Thanks,
    Eli

    Hi,
    Thanks for your post. Our current design doesn't support keeping order between list view and icon view. It would be good if you can drop that as a feature request / bug into the the forum.

Maybe you are looking for

  • My Ipod won't sync or charge

    Help! I can't do anything with my Ipod. My computer won't recognize it and it won't charge. I reset it and the Apple comes up but it's only for a few seconds and then a picture of a sad Ipod comes up. Then the picture of no battery charge comes up. L

  • Call Transaction XK02 in SAP ECC 6.0 Version

    Hi All, I am working with an object which calls a transaction XK02 to modify the name and contact details fields in Version SAP ECC 6.0. The problem is that, when the transaction is run manually and saved or when an SHDB Recording is created, the dat

  • SRM PO SMARTFORM

    Hi friends, I’ve two questions for two smart forms: 1. SRM_PO_CREATE -Purchase order create 2. SRM_PO_CHANGE – Purchase order create Both are copy of BBP_PO. Question 1 – In IMG, SRM-SRM server-Cross Application basic Settings->Set output Actions and

  • Must return to Snow Leopard from Lion

    I had a one year old iMac and the power board failed. The mac store replaced my old iMac with a new one but the new one came with Lion and all my writing files were done on an old Word program. Most of my files cannot be opened with Pages using Lion.

  • Cannot configure hotmail account as an exchange

    Althoug hotmail accounts work fine on my iphone and ipad, I still cannot configure it on my mac in the same way. In other words, I cannot see my folders and if I delete an email on my mac, it doesn't get deleted from my hotmail inbox. help please