SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i'm trying to do a visual representation of a document library using javascript and webservices.

basically i want to present the folders in the library, with a preview of the first few files in each folder.

so far, best solution i could find for this was to load the folder structure and then do a query for each of the folders asynchronously. I was wondering if there is a way to do this with a single query?

If there is any other solution (client or server side) that can get this result I'll be thankful as well.

Thank you for your time!

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.