使用SharePoint Web服务复制列表定义 [英] Using SharePoint web service to copy list definition

查看:90
本文介绍了使用SharePoint Web服务复制列表定义的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经筋疲力尽了.有趣的是,经过很长时间,没有关于如何完成此操作的帖子.
我正在尝试构建一个C#应用程序,该应用程序将使用SharePpoint WEB服务将列表从一个SharePoint网站复制到另一个SharePoint网站.我看到了copyitems方法来复制项目,但是找不到如何复制列表/库定义.
有人可以指出我在哪里可以找到示例的示例,该示例使用SharePoint Web服务将列表定义从一个网站复制到另一个网站吗?

我只想将列表另存为模板,但是我们的SP管理员不允许这样做.我们的SP管理员对SharePoint不熟悉,因此由于不知道其功能,他们已禁用了大多数功能.
提前谢谢.

I've exhausted my search.  Interesting that after this long, no posts exist on how to accomplish this. 
I am trying to build a C# application that will copy a list from one SharePoint site to another using the SharePpoint WEB SERVICES.  I see the copyitems method to copy items but am not finding how to copy the list/library definition. 
Can someone point me to where I can find an example of something that copies a list definition from one site to another using the SharePoint web services?

I would like to just save the list as a template but am not permitted by our SP admin.  Our SP admin is not familiar with SharePoint so they have disabled most functionality since they don't know what it does.
Thanks in advance.

推荐答案

没有示例,但是...

Don't have a sample but...

您可以获取列表结构,然后在新服务器上重新创建它.

You can get the list structure and recreate it on the new server.

以下是一些检索列表的示例代码:http://msdn.microsoft.com/zh-cn/library/ms450301(v=office.12).aspx

Here is some sample code to retrieve lists: http://msdn.microsoft.com/en-us/library/ms450301(v=office.12).aspx

那应该给您一个起点.

约翰



这篇关于使用SharePoint Web服务复制列表定义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆