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 have a list containing folders and items. The folders are a custom content type based on folders, with some extra columns like URL and some Yes/No Checks. One contenttype can contain n items and contenttypes.

So lets say I have this structure:


How can I get this structure without using the list-webservice? I know how to get all items in the list, but that returns only items, not the content types. It's also (in my opinion) no good way to do a single query against each folder because the list will get very large.

Thank you very much!

share|improve this question
up vote 0 down vote accepted

I found a working solution on my own:

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.