LR4: Publish Sort Order

Hi,
Can anyone let me into the secret of how to change the order of publishing images to the hard disk?
I have created a "Published Folder" and placed a few images in it. I can display the images in the various sort orders and can even move images around to make a custom sort order.
I have set up the Publish service to rename the images during publishing so hopefully they would reflect my sort order when viewed in filename order.
Whatever I do, it always seems to process from the newest to the oldest image and so become out of order - I select them all to be republished.
Can anyone tell me where I am going wrong.
I might just try using export rather than publish.
Brian

Hi Brian,
First, let me explain the root of the problem:
When you first publish photos, they will be exported in order (e.g. custom sort order).
So, *if* you export all of them, and add a sequence number prefix, then they will be in order (i.e. alphabetic, on disk). - so far so good...
However, if you add a file or re-arrange them, then they may need to be exported again, completely from scratch (deleted first and removed from publishing...). Re-publishing may not suffice.
There is a solution in the form of an emerging plugin:
Exporder
It renames published files to maintain user sort order. At the moment, it also mirrors master collection hierarchy (as exported folder tree) so if that's not acceptable - do tell.
Rob

Similar Messages

  • How to control photo sort order in flickr publish folder

    Using LR 5.3 and trying to control the sort order of photos in a Publish folder (Flickr). When I drag-and-drop the photos, they never end up in the location indicated by  the dark black bar that appears under the mouse cursor. Usually appear within 5 or 6 places of the dropped location, but sometimes up to 20 places away from the dropped location. Futzing with the location sometimes gets them closer, but not always. It's very frustrating. I've seen comments about certain restrictions for manual sorting (e.g. not feasible in Smart Collections), but no specific reference to sorting in a Publish service. Is there a way to put the photos into the exact order that I want in a Flickr Publish folder? (Note: drag and drop does not work correctly... that's the problem).

    Click the Action icon > show view options > Arrange by none > sort by name.

  • Sort Order Changes Unexpectedly in iPhoto Gallery

    I frequently add new images to some of my iPhoto galleries, then publish to MobileMe. When I rearrange the images in a particular gallery, the sort order sometimes changes spontaneously. Once this occurs, I have to manually restore everything to its proper place. Needless to say, this is very irritating. Does anyone know why this happens and how to fix it?
    Thanks!

    Hello Alan,
    If I understand you correctly the images will spontaneously change their order both online at me.com and in the MobileMe WebGallery within iPhoto. You may have a broken Album within iPhoto.
    Try making a new MobileMe Gallery and add 50 pictures (make a few of them in an order that is distinct so you can tell if/when they move). Publish the Gallery and check the order. If its ok, add another few pictures and then check again.
    Ultimately if the issue does not happen with the new album then you may want to delete the other album and re-create it (you could try rebuilding your iPhoto Library as well. See the link below).
    If the issue happens with the new album as well follow http://support.apple.com/kb/HT2638 to rebuild your Library. I would try using the "Rebuild iPhoto Library database..." option.
    Also if you are not already I would suggest making regular backups of your computer. With Time Machine you could restore back to before this re-arranging occurs should it happen again http://support.apple.com/kb/HT1553.
    Hope that helps.

  • Sort Order Definitions:

    looking for help in the sort order choices and how each one works to sort in grid view. Some are self evident but others I am not sure of...like PICK and EDIT COUNT.
    can anybody define how they sort...not finding any info in the LR4 help system
    Thnak you.

    Thank you for the tip. I've modified my Formular in order to look like this:
    // Declare and initialize variable
    Local NumberVar ProjectNo;
    // Extract Main project no out of database field and store it in local var.
    ProjectNo := ToNumber(
                    Left(
                        {Dienstleistungen.verweistAuf},
                        InStr({Dienstleistungen.verweistAuf},'-') - 1
    if (ProjectNo) = 0 then
    0
    else
    ProjectNo
    But this produces the same effect as above. Still no luck. Did I miss something?
    Thank you.

  • AQ Sort Order

    HI
    I am trying to subscribe to a topic with Sort Order (priority,enq_time) using oracle.jms API.Payload type is an ADT generated from jpublisher.Though the same worked with Oracle.AQ API.
    1)After publishing i am updating the priority through sql using payload data.But the subscribing application is always taking enq_time when actually it should be taking priority as first criteria.It is still taking default priority as 1 for all so sorting by enqueue time i feel.
    2)If on the other hand i set different priorities while publishing throgh client itself,subscibing application is picking up correctly .i.e priority first the enq_time.
    Sample code:
    ===========
    // Get topic object
    Topic topic = ((AQjmsSession) aq.session).getTopic(
    DB_AQ_ADMIN_NAME, // Queue owner
    "message_queue"); // Queue name
    // Create topic receiver
    TopicReceiver subscriber = ((AQjmsSession) aq.session).createTopicReceiver
    topic, // Used topic
    "SUBSCRIPTION" + _subscriptionId, // Name and identification of the subscription
    null,// No message selector
    QUEUE_MESSAGE_CAFU.getFactory()//CustomDatumFactory for the java class that maps to the Oracle ADT
    // Receive message
    System.out.println("Waiting 60 seconds to receive message for subscription SUBSCRIPTION" + _subscriptionId + " ...");
    AQjmsAdtMessage adtMessage = (AQjmsAdtMessage) subscriber.receive(60000);
    if(adtMessage != null)
    QUEUE_MESSAGE_CAFU messageData = (QUEUE_MESSAGE_CAFU) adtMessage.getAdtPayload();
    System.out.println("receive() successfully");
    // Print message
    System.out.println("ProductId : " + messageData.getProductId());
    System.out.println("StoreId : " + messageData.getStoreId());
    System.out.println("ProductName: " + messageData.getProductName());
    System.out.println("country : " + messageData.getCountry());
    Note:QUEUE_MESSAGE_CAFU is JPublisher generated class from an oracle object type
    Regards
    Raju

    Answers from Oracle for anyone interested:
    1. Is there any way to determine the enqueue order of a set of messages?
    Enqtime is only to the second.
    (**) Yes the enqueue order is enqtime + step_no. So if you concat it appropriately you will get the right >order.
    2. If using a queuebrowser starting at a message ID, will messages appear in
    actual order even if msgids are not in order?
    (**) The message will appear in the enqueue time order.
    3. Is there any way, preferably a sql query, to determine the messageID of
    the last message enqueued to an AQ?
    You could write a query which would compute the max(enqueue_time + step_no) say something like:
    select msgid from queue_table where expr(enqtime, stepno) = (select max(expr(enqtime, stepno)) from >queue_table); This is true but Oracle forgot to say that the order is guaranted only if the messages are enqueued in the same session!! if the messages are enqueued by different sessions the result is unpredictable (the enqueue time is OK but the step_no is completly wrong, that is we can have different message at the same time with the same step_no)

  • AQ Sort Order (priority,enq_time)

    HI
    I am trying to subscribe to a topic with Sort Order (priority,enq_time) using oracle.jms API.Payload type is an ADT generated from jpublisher.Though the same worked with Oracle.AQ API.After publishing i am updating the priority.But the subscribing application is always taking enq_time when actually it should be taking priority as first criteria.
    I am printing table property that to shows the correct sort order:
    owner : aqadm
    name : queue_message_table
    AQQueueTableProperty]
    payload_type : AQADM.QUEUE_MESSAGE_CAFU
    storage_clause : null
    sort_order : PRIORITY, ENQUEUE_TIME
    multi_consumer : true
    message grouping : NONE
    comment : null
    compatible : 8.1.3
    auto_commit : true
    primary inst : 0
    Secondary inst : 0
    Non Repudiation : 0
    Secure : false
    Sample code:
    ===========
    // Get topic object
                   Topic topic = ((AQjmsSession) aq.session).getTopic(
    DB_AQ_ADMIN_NAME, // Queue owner
    "message_queue"); // Queue name
                   // Create topic receiver
                   TopicReceiver subscriber = ((AQjmsSession) aq.session).createTopicReceiver
    topic, // Used topic
                        "SUBSCRIPTION" + _subscriptionId,          // Name and identification of the subscription
    null,// No message selector
                        QUEUE_MESSAGE_CAFU.getFactory()//CustomDatumFactory for the java class that maps to the Oracle ADT
                   // Receive message
                   System.out.println("Waiting 60 seconds to receive message for subscription SUBSCRIPTION" + _subscriptionId + " ...");
                   AQjmsAdtMessage adtMessage = (AQjmsAdtMessage) subscriber.receive(60000);
                   if(adtMessage != null)
    QUEUE_MESSAGE_CAFU messageData = (QUEUE_MESSAGE_CAFU) adtMessage.getAdtPayload();
                             System.out.println("receive() successfully");
                             // Print message
                             System.out.println("ProductId : " + messageData.getProductId());
                             System.out.println("StoreId : " + messageData.getStoreId());
                             System.out.println("ProductName: " + messageData.getProductName());
                             System.out.println("country : " + messageData.getCountry());
    ******QUEUE_MESSAGE_CAFU is JPublisher generated class from an oracle object type
    Regards
    Raju

    Hello,
    It's been quit a while since we mailed and I promised to get back on you.
    I've been testing and I'm lost. It looks likes the messages are at random dequeued.
    A user have enqueued different messages.
    The enqueue code is :
    -- Add new request to queue.
    message_properties.delay := pkg_delay_time;
    message_properties.priority := p_priority;
    message_properties.expiration := pkg_expire_time;
    message := proj_batch_queue_ot( p_projectid
    , p_versionno                , p_action
    , p_job_type
    dbms_aq.enqueue( queue_name => pkg_schema||'.'||g_queue_name
    , enqueue_options => enqueue_options
    , message_properties => message_properties
    , payload => message
    , msgid => message_handle
    It is an autonomous_transaction and is commited immediatly.
    The dequeue code is:
    declare
    dequeue_options dbms_aq.dequeue_options_t;
    message_handle raw(16);
    begin
    dequeue_options.navigation := dbms_aq.first_message;
    dequeue_options.dequeue_mode := dbms_aq.browse;
    dequeue_options.wait := dbms_aq.no_wait;
    dbms_aq.dequeue (queue_name => pkg_schema||'.'||g_queue_name,
    dequeue_options => dequeue_options,
    message_properties => message_properties,
    payload => message,
    msgid => message_handle
    The sort_order is priority, enq_time and still the messages are dequeued at random.
    I hope you can help me.
    I would be most grateful.
    Regards

  • .Mac Gallery sort order

    Is there any way to influence the sort order of my galleries posted on .Mac? It seems the last one published is shown first, but I'd like to get them in chronological order.
    Thanks.

    Bummer. I submitted the request.
    From my perspective, by trying to make the iLife apps drop dead simple, they are limiting them too much. I think it would be possible to make them as easy but also add additional features that are initially hidden.

  • Visitors can't tag Facebook photos posted via LR4 publish module

    What I'm bringing up is going to be a strange and esoteric issue, and I'll be surprised if anyone has any input to offer, but here goes.
    We run a Facebook Page that relies on posting many photos and enabling page visitors to tag themselves in said photos. Up until the LR4 release, we were simply posting these photos through Facebook's web interface. Starting last week, we started using the LR4 publish module to publish straight to our page in order to skip a whole step in our workflow, and we were thrilled with how well it was working. Since then we've uploaded three photo albums via Lightroom. However, beginning just yesterday an interesting issue has developed. We started getting complaints from guests that they couldn't tag their images, and after testing it out, we confirmed that visitors are no longer able to tag themselves in the LR-uploaded photo albums. This was not the case the whole past week, where we saw dozens and dozens of people being tagged. All older albums (ones uploaded traditionally) still let guests tag photos with no issues.
    Anyone have any insight to shed? As much as we love being able to publish right from Lightroom, we plan to revert back to posting via Facebook like always until this issue is resolved.

    Me too, narxzrugn!
    fans are unable to tag photos on my fan pages since January 2012.
    Steps taken to resolve issue:
    - have set page profile setting “People can tag photos posted by Spinferno {Fire & Photography}” to ticked.
    - have set page type to ‘person’ (Artist)
    - have reauthenticated my Jfeidl Lightroom export plugin and attempted to test again. Unsuccessful.
    - have looked into Adobe’s LR4 forum: status is unsolved.
    - have sent several FB support requests: no replies yet.
    I alone am able to tag all photos, but nobody else is.
    To everyone who is having this problem, please stand up and be counted as that will get this problem more fairly escalated by Abobe and FB:
    Here is the tag issues in FB community help, please make it clear that you too are experiencing this problem, thanks.
    http://www.facebook.com/help/community/question/?id=2130863

  • Sorting order for Highlights, Shadows, Whites and Blacks controls.

    I absolutely love the new set of controls as compared to the similar options in LR3.  With just these 6 controls and a few seconds I can get my image looking great.  One thing is making me crazy though, the four controls are logically sorted "Whites, Highlights, Shadows, Blacks" in terms of the range that they impact.  If the controsl were sorted as I suggested, I would be able to think through the problem of fixing a particular image more efficiently.
    Has this been discussed or considered?

    tomalphin wrote:
    I should add, with only four items in question, putting the two you are most likely to use slightly closer together will result in little gained efficiency.  Having them sorted in a manner that is easier to teach, learn and internalize will likely lead to better results for a larger percentage of users. 
    Further, if they were sorted in the manner I suggest, it would be possible to further strengthen the understanding of how the features work by showing a color curve overlay on the histogram.  This would make it even easier for folks to understand how these six abstract controls affect the image.
    It sounds like there is a mix of rational and reactive pushback to this approach from the vocal audience on this forum.  I would be very interested to see how the two compared in blind lab studies with participants of comparable experience.  (Including new  and existing users... I would like to think that Adobe is saavy enough to realize that it is important to court new users if they want to grow their customer base and profit opportunity.)
    If there's one thing we can pull from this whole discussion, it's that there's no way for Adobe to make everyone happy on this issue.  There just isn't.  Some people absolutely hate that the sliders are ordered as the are in LR4b, others seem to think it makes perfect sense.  Both are adamant in their stance.  So now it becomes this whole over-blown issue of," What percentage of users like it this way compared to that way."  I'm sorry, but I just don't understand why it's such a big deal.  Is it that hard to use the controls in the order that Adobe placed them in LR4b.  Really?  Is it?  Is it really that slow for you high-volume photographers out there?  Is it really something that you won't completely get used to in all of a few hours of using LR4?
    The current sort order of the sliders in LR4b is not necessarily just an order-of-operations that is being thrust upon Lightroom users.  The rationale is that the controls follow an order which, in most cases for most photographs, flows from the most global adjustments to the most specific.  It's more than just an arbitrary ordering based on "what Adobe says we ought to do first".
    The truth is, while I understand Adobe's reasoning here, I really don't care what order the sliders end up in.  Why?  Because it really doesn't matter all that much, at all.  I mean, think about it.  Let's say that the current order of the sliders in LR4b makes it to the final version.  Are users going to keep using Lightroom 3 in protest?  No.  Are users going to keep all their photos in PV2010 expressly because they simply can't handle the order of the sliders in PV2012?  No.  The reason that nobody will go to such lengths is that it's reallly just not that important.  This is an exceptionally minor issue of personal preference that has less weight and importance than the hard drive space at Adobe used to store all of the threads that have popped up in complaint of the slider order.
    I know that everyone vehemently arguing against the current slider order will whole-heartedly disagree... but I simply had to put in my two-cents.  The issue of slider order is so miniscule that I cannot fathom why so much has already been written about it.
    EDIT*****
    An afterthought...
    Really?  "Blind lab studies" to scientifically determine what order to put LR4 sliders in?  C'mon guys... you've got to be kidding me...

  • Incorrect Sort Order - On Home Page - News and Announcements

    On the Company sub-pages "News and Announcements" the sort order is correct. The most recently added News or Announcements is at the top of the list sorted by Publish Date.
    However on the Home Page they are not.
    Any ideas?
    Thanks,
    BG...

    Hi,
    There is Enhancement Request on this problem created on Metalink (Bug 5571606) for about a year. It is marked as "Very desirable feature" but no info about when this desireable feature will be available. I asked Portal consultant at Oracle Services and was told, it depends on how many and how big customers would request this feature on behalf of their valid Support Contract.
    So the only way I think is to create Service Requests on Metalink asking for patch.
    I did in September 2006, what about you dear colleagues?
    Regards Jiri Rohlicek

  • Album sort order PSE11 - is it by design ?

    When experimenting with the sort order of albums in PSE11, I was surprised to see that in some albums, changing the sort order from 'oldest' to 'newest' did not produce any effect.
    The reason of this probably lies in the menu /preferences/general :
    If you have only pictures taken the same day, the above setting will still show 'oldest first' even you choose 'newest first' for album order.
    I believe that the most used order is 'album order' and that the 'newest first' is very rare.
    I can understand the option to browse 'oldest first within each day' when in 'newest first' in thumbnail view.
    However, I wonder if that option makes sense to sort an album ?
    Was it by design ?
    If it were me...
    I would not use that preference for an album,
    and...
    I would add the option to sort by filename and caption.

    Figured it out. I added "Various Artists" in the Album Artist field for every track and it then sorted them all together.

  • How do I get Iphoto to preserve the sort order when I transfer an album?

    Here's my problem. I carefully sorted my album of 230 photos manually. Each photo was then numbered from 1 to 230.   Then I used IPhoto Library Manager to transfer this album someplace else -- to my desktop, to a thumb drive, to Dropbox---   In every case, when I did that, the photos themselves transfered just fine,  but the sort order I had so carefully constructed has fallen apart and cannot by retrieved. Even  when I  close and then reopen an Album I have transferred to my Desktop, it loses its sort order.  This is driving my crazy  because I need to transfer this album so that it preserves the slideshow I have designed for it. A slideshow, of course, demands preserving the order of the slides.
    In short, how can I preserve the sort order of an album when I transfer it out of one library to another?

    If you're transferring to another library, why are you exporting to the Finder (which is what Desktop, thumbdrive and DropBox are). This doesn’t understand manual sorting from iPhoto.
    Here's one (of several) way(s) to do what you want:
    Make an Album of the photos, then drag the pics into your preferred order.
    Then Photos Menu: Batch Change -> Set Title to Text "John's Birthday", for instance, and tick the box to append a number to each Photo. Now your photos are titled 'John's Birthday 001, John's Birthday 002 ... etc'
    Then File -> Export and in the Export dialogue set the Filename to "Use Title"
    Sort on Filename in the FInder and you end up with a folder full of images in the same order as the Album in iPhoto.

  • Any way to Restore Last Manual Sort Order or Prevent from being Overwritten accidentally?

         Help!
         I'm constantly accidentally overwriting painstakingly created manual sort ordering (sometimes hours but more often months of accumulated work) in folders with files numbering up to 1,000, when i, however breifly, switch to another sort ordering (size, date modified etc) to check something, immediately forget that i'm in another sort order, and, unthinkingly (actually i guess i'm thinking of a lot of other things) drag a file to another position, this immediately destroys any past manual sorting i've established, overwriting it with this new inadvertent manual ordering.
         I've tried CommandZ (edit undo) but that only undoes my last rating or labeling, i've rushed to force quit Bridge through the activity montior hoping i will catch it before its overwritten, but obviously i am not as fast as a computer, and i don't think this has ever worked.
    Is there any way or any script someone has written to formally save a manual sort order? Is there anything i've missed to attempt restoring it? Has anyone, repeatedly foiled by this, written something that would give a warning and require confirmation say for instance, if i tried to drag or move a file while in another sort ordering (this seems like something that should have existed the minute the opportunity was given to create manual organization). Would anyone be willing to?
         Seriously, me forgetting almost every time isn't going to change and, more vexingly, it's even happened when i didn't mean to move anything but fumbled momentarily while in another sort order. I think most people might forget because (in the context of computing) we are conditioned to expect a warning if something we have just created is about to be written over or discarded, and since there is no option to formally save a manual ordering we have just created.
         Also, if this was in the real world, moving a single file would not reshuffle everything on your desk. If i had the option to formally save a manual organization i would NOT forget to do this and would use it, as i've wished for one every time spent a while rearranging files. Knowing how easily all the hours (much less months and years of cumulative work) of organizational work can be accidentally lost makes working within Bridge unpleasantly anxious.
          I'm literally willing to do anything including installing some sketchy 3rd-part scripts (though honestly i have no idea what that means or how to do it). I extentively use and rely heavily upon this function so this is a fairly serious Achille's heel. It's like watching your incredibly important meticulously constructed house of cards collapse with a careless but innocent sigh, or like having the equivelent of a not even charming cat dance across your keyboard during a live concert, etc etc....
         Also it is not usually appropriate, given the context, to batch rename everything to preserve a manual ordering w sequence numbers, etc. Often the filenames are considerably (but necessarily, to connote important differences) long already, and when i have to rearrange things in the future would have to do that each time, etc, etc, making for even more unwieldly filenames that didn't have any substantive information at the beginning. I'm looking for a way to make this function (manual sort ordering), well, more functional, secure and stable, the workarounds i've considered cause too many additonal problems.
         Thank you in advance for any help you may be able to offer, and as this is my first attempt to use the forums as i live on a boat with no regular net access, would appreciate any forum etiquette corrections, and advance apologies for any misspellings, dyslexic and spellcheck does not seem to work in this interface. next time will edit in external wordprocessing program beforehand,
              li'l mc szpf
         PS i'm on a 27" mac w CS4 Design Premium, w up to the minute OS (10.6.8) and Adobe software updates installed recently (i do not often move the monster but this week was housesitting w net access, so she has had all recommended shots and vaccinations....)
         PPS I know most of y'all might be running the newest and the latest of everything, but, i'm fairly certain this is still a problem in recent versions as this has happened to me at school where all the macs are running cs5. Though if it's been addressed somehow in cs6 would update entire suite just to fix this one problem in Bridge. I've tried many searches and found nothing relevant or wouldn't bother the considerable expertise and resources of an official forum, was extremely hesitant to ask (feared getting snapped at for unwittingly broaching forum etiquette) but it is truly the bane of my considerable Bridge existence, so was willing to risk the imaginary censure and opprobrium....
    Message was edited by: PECourtejoie

    That is a good question, to do this requires two functions and a restart of Bridge all done automagically
    Copy and paste the script into ExtendScript Toolkit
    This gets installed with Photoshop and can be found:-
    PC: C:\Program Files\Adobe\Adobe Utilities
    MAC: <hard drive>/Applications/Utilities/Adobe Utilities
    Start Bridge
    PC: Edit - Preferences - Startup Scripts
    Mac: Adobe Bridge menu - Preferences - Startup Scripts
    At the bottom click the "Reveal Button" this will open the folder where the script should be saved.
    Close and restart Bridge.
    Accept the new script.
    To use:
    Tools - Backup Manual Sort
    This will backup the hidden manual sort file .BridgeSort to .BridgeSortSave
    Tools - Restore Manual Sort
    This will copy the .BridgeSortSave back to .BridgeSort and will close and restart Bridge so that the manual sort is restored.
    if( BridgeTalk.appName == "bridge" ) { 
    var backUpManSort = new MenuElement( "command","Backup Manual Sort", "at the end of Tools" , "backupms" );
    var RestoreManSort = new MenuElement( "command","Restore Manual Sort", "at the end of Tools" , "restorems" );
    backUpManSort.onSelect = function () {
    var fileSort = new File(app.document.presentationPath +"/.BridgeSort");
    var fileSave = new File(app.document.presentationPath +"/.BridgeSortSave");
    if(fileSave.exists) fileSave.remove();
    fileSort.copy(fileSave);
    fileSave.hidden=true;
    RestoreManSort.onSelect = function () {
    var fileSort = new File(app.document.presentationPath +"/.BridgeSort");
    var fileSave = new File(app.document.presentationPath +"/.BridgeSortSave");
    if(!fileSave.exists){
    alert("No backup file exists");
    return;
    app.document.sorts = [{ type:"string",name:"document-kind", reverse:false }];
    if(fileSort.exists) fileSort.remove();
    fileSave.copy(fileSort);
    fileSort.hidden=true;
    app.document.chooseMenuItem("mondo/command/new");
    app.documents[0].close();
    app.document.sorts = [{ name:"user",type:"date", reverse:false }];
    Hope this works for you.

  • 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)

  • List of found events changes sort order when pasted from clipboard

    when I find a set of events in iCal, the list appears in the window at the bottom of the page in the correct sort order when sorted by date, title or type. When I then copy that list to the clipboard and paste it into another program (Pages, MacJournal, TextEdit) the sort order changes.
    I work mostly in English, but my macbookpro keyboard is German, so I assume the problem is with the language settings. I've tried changing the system preferences for language and sort order, and that changes the sort order, but it doesn't get it right.
    Anyone have any ideas?
    Thanks

    when I find a set of events in iCal, the list appears in the window at the bottom of the page in the correct sort order when sorted by date, title or type. When I then copy that list to the clipboard and paste it into another program (Pages, MacJournal, TextEdit) the sort order changes.
    I work mostly in English, but my macbookpro keyboard is German, so I assume the problem is with the language settings. I've tried changing the system preferences for language and sort order, and that changes the sort order, but it doesn't get it right.
    Anyone have any ideas?
    Thanks

Maybe you are looking for

  • File to IDOC:how do i relate inbound idoc with generated idoc in the R/3

    hi experts; can any body tell me how can i relate the IDOC number genrated in the PI with the generated IDoc number in the SAP R/3 system for file to IDOC scenario? in SAP PI for tcade idx5, idoc no is:12002 but in SAP R/3 in tcode WE05, idoc no is:8

  • Theme for Portal !!!

    Hello everyone We have now an Enterprise Portal in our Business . Our Business has 2 departments and each one of the department has its own implementation of the same portal using the same theme . Each one has the same number of Top Level Navigation

  • My dial up modem

    my dial up modem isn't connecting on my iMac. when it starts connecting it then starts disconnecting it will say this for ages, then i have to restart. i know it isnt something to do with the ISP as i can still connect on my pc. is it a hardware or s

  • Confirmation of fringe benefit taxes

    Currently i am working on implementation project my client want auto posting of fringe benefit taxes? is there any chance to post fbt like input tax and sales tax? is it possible to configure the tax keys like that? at  the time of the expence accoun

  • No USB mice is recognized by MBP.

    Once they are connected, their lights turn on (on both ports they work), but the pointer doesn't move.