How to get all document libraries BUT Form Templates, Style, Customized Reports
I'm building a webpart for SharePoint 2010 to get all the document libraries with usefull info for the user. This means, docs that users uploaded, etc. I don't want to show libraries such as Form Templates, Style Library, Customized Reports, etc... I just want to show only the document libraries with usefull info, as Shared Documents, or any other users create in the future, is that possible? Currently, my logic looks like this: SPListCollection docLibraryColl = wb.GetListsOfType(SPBaseType.DocumentLibrary); Guid docLibFeatId = new Guid("00bfea71-e717-4e80-aa17-d0c71b360101"); foreach (SPList