以 xml 格式导出 Sharepoint 列表的最简单方法是什么?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/271254/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-06 12:11:59  来源:igfitidea点击:

What is the easiest approach to exporting a Sharepoint list in xml format?

xmlsharepointlistmossexport

提问by Kilhoffer

Pretty self explanatory. I just need to export lists easily to xml format. Are there any tools that accomplish this?

非常不言自明。我只需要轻松地将列表导出为 xml 格式。是否有任何工具可以实现这一点?

回答by jwmiller5

You could also use the Lists webservice. http://server/_vti_bin/Lists.asmx

您还可以使用 Lists 网络服务。 http://server/_vti_bin/Lists.asmx

回答by ImJustPondering

You can write a c# application pretty easily to connect to the sp list and export it out yourself.

您可以很容易地编写 ac# 应用程序来连接到 sp 列表并自己将其导出。

A quick search on codeplex search comes up with one such program already made for this purpose! Hope this can help you: http://www.codeplex.com/SPListReaderhttp://www.codeplex.com/SPListReader/Release/ProjectReleases.aspx?ReleaseId=15420

对 codeplex 搜索的快速搜索会出现一个已经为此目的制作的这样的程序!希望这可以帮助您:http: //www.codeplex.com/SPListReader http://www.codeplex.com/SPListReader/Release/ProjectReleases.aspx?ReleaseId=15420

回答by Nat

Any chance that the RSS feed is going to be XML enough for you?

RSS 提要是否有可能是足够适合您的 XML?

回答by Nat

On the SharePoint list click Actions > Open With Access > Right click on the table and choose export to xml.

在 SharePoint 列表上,单击操作 > 使用访问权限打开 > 右键单击​​表并选择导出到 xml。

回答by ashwnacharya

In the actions menu of the list, select export to spreadsheet. Then open the exported Excel Web Query file and from the File menu, select "Save as" and save it as XML.

在列表的操作菜单中,选择导出到电子表格。然后打开导出的 Excel Web 查询文件,从文件菜单中选择“另存为”并将其另存为 XML。

回答by klewis

You can create a 'Content Query Tool Part' to export a list of pages on your SharePoint environment to a generated XML list. My favorite feature with this tool is that you can sort and filter the content you want generated on your XML file. You can learn more about it here through this tutorial by Waldek Mastykarz

您可以创建“内容查询工具部件”以将 SharePoint 环境中的页面列表导出到生成的 XML 列表。我最喜欢此工具的功能是,您可以对要在 XML 文件中生成的内容进行排序和过滤。您可以通过 Waldek Mastykarz 的本教程在此处了解更多信息