I need to access the parent document library for the folder. I am having the selected folder GUID by which I am loading it.

 _spFolder = _contex.Web.GetFolderById(Guid.Parse(_folderId));

But I also need the Document library where the folder is located. How can I get it using _spFolder object?

Thanks in advance

1 Answer 1


As far as I recall it one of the properties on a SPFolder object is the Document Library. This might be what you are looking for: Get Library and Folder from document guid (C#)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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