Programmatically access a SharePoint document library?

北慕城南 提交于 2019-12-11 06:01:51

问题


How would I programmatically access a SharePoint document library from another machine? I want to recursively scan all the folders and generate a list of files with a certain custom property.


回答1:


You'll need to use the List Data Retrieval web service. Example code using the service can be found on the Query method page.




回答2:


Vinny is correct. I just wanted to elaborate a little on the next version of SharePoint, SharePoint 2010. There are several client based models for access that essentially wrap the web service calls. There is a managed .NET dll for Windorm/WPF applications, a library for use within websites that is JavaScript based and a Silverlight based implementation.

This MSDN article has links to more information on all three.




回答3:


Check Mossquito project.



来源:https://stackoverflow.com/questions/2716101/programmatically-access-a-sharepoint-document-library

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!