You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
Coffeecat
7 years agoHelpful | Level 6
ListFolderAsync Order Entries by Name
I got this one running.
DropboxClient.Files.ListFolderAsync(<"">).Result.Entries
Now how do I get the entries listed by name in descending order? There's this OrderBy(of ) function on Entries but I don't know what parameter to put.
- Greg-DBDropbox Staff
To list the contents of a particular path, make sure you implement both ListFolderAsync and ListFolderContinueAsync, as described in the ListFolderAsync documentation. You aren't guaranteed to get everything in one call, so you need to process everything, using both methods, as described there.
Once you've retrieved all of the entries and processed them as instructed, you can sort the results however you want. Exactly how you would do so depends on your app, but it sounds like you probably want to sort by Metadata.Name.
- dropdevExplorer | Level 3
ListFolderAsync function is bad ...
the site show:
the ListFolderAsync function:
why??
- Greg-DBDropbox Staff
dropdev The Dropbox web site does not work exactly the same way as the Dropbox API. The ListFolder[Continue] functionality does not guarantee a particular ordering. Make sure you implement the API calls as documented to make sure you get a correct representation of the listing. You can then apply whatever sorting/ordering you want client-side.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,915 PostsLatest Activity: 4 hours agoIf you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!