简体   繁体   English

以编程方式创建SharePoint列表

[英]Programmatically create SharePoint list

I downloaded a plugin for an Office product that prompts you for your SharePoint site url and username and password and then it will create you appropriate lists and views on your SharePoint site. 我下载了Office产品的插件,该插件提示您输入SharePoint网站的URL,用户名和密码,然后它将在SharePoint网站上为您创建适当的列表和视图。 Can someone let me know if I can make a program on my Windows XP machine that will take in the site url, username and password and be able to programmatically create lists and views? 有人可以让我知道我是否可以在Windows XP计算机上制作一个程序,该程序将使用站点url,用户名和密码,并能够以编程方式创建列表和视图吗?

I did some searching on google and it seems this needs to be done on the SharePoint server. 我在Google上做了一些搜索,看来这需要在SharePoint服务器上完成。 I don't have access to the server and would need to do the development from my XP machine. 我没有访问服务器的权限,需要从XP机器上进行开发。 And seeing the plugin do exactly what I wanted gives me some hope. 看到插件完全按照我想要的去做,这给了我一些希望。

Thanks. 谢谢。

You'll want to look at accessing SharePoint through its Web Services . 您将要考虑通过其Web服务访问SharePoint。 Specifically, the Lists Web Service and the Views Web Service . 具体来说,就是Lists Web ServiceViews Web Service Here's the Lists.AddList method from the lists service - should get you going down the right path. 这是列表服务中的Lists.AddList方法-应该使您走正确的道路。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM