I have a large document library with folders, I'd like having all the items except the folders. for now, i use this where columns is a list of all internal name from the list

CamlQuery q = CamlQuery.CreateAllItemsQuery(10000, columns.ToArray());

Then, I'd like having items inside a certain folder but it throws me an exception

q.FolderServerRelativeUrl = "/Library/Folder/";

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.