Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

when I'm getting all the lists with my Client program from a specific SharePoint server, I'm getting quite a lot of them, but I'd like to present to the user only the Document Libraries. How can I do this? I saw that a Library can be named anything, not only "Shared Documents", so there must be another possibility? I'm currently using WSS/SOAP and talking to the _vti_bin/lists.asmx service with GetListsCollection method, but any clue will be helpful.

Thank you

share|improve this question

1 Answer 1

Part of the response for each list is the attribute BaseType which is a string representation of the numeric value from the enumeration SPBaseType for each list.

BaseType="1" for DocumentLibrary

share|improve this answer
    
cool. thanks a lot. –  Igor Jul 22 '12 at 11:33

Your Answer

 
discard

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.