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:
FolderA
ItemA.1
FolderA.2
ItemA.2.1
ItemA.2.2
FolderA.3
FolderB
ItemB.1
ItemB.2
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!