programmetically how to export sharepoint list in to xml file including column name and metadata
I am having one share point list which contain some column with data,so i want to export share point list to XML file with column name and including metadata through programmatically using visual webpart. i need to proved custom network wizard like[ save  open ]to user  to save that xml file where ever enuser want to save
September 3rd, 2015 11:07pm

Append the following to your site URL to export the list to XML

/_vti_bin/owssvr.dll?Cmd=Display&List=YOURLISTGUID&XMLDATA=TRUE

Refer to the following post for more information

https://discoveringsharepoint.wordpress.com/2014/09/11/export-sharepoint-list-data-to-xml-directly-from-the-gui/

Free Windows Admin Tool Kit Click here and download it now
September 4th, 2015 12:56am

Hi

Base on the description, you want to export the SharePoint lists in to xml file.

Here are two solutions for you.

1. Using c # program to implement this feature.

   The link below describes the step and sample code for exporting SharePoint 2010 list to an XML file.

    http://msdn.microsoft.com/en-us/library/ms429658.aspx

2. Using PowerShell to implement this feature.

    The link below describes how to use PowerShell export SharePoint list items to an XML file.

     http://www.robertkuzma.com/2012/09/get-sharepoint-list-items-and-export-them-to-xml-using-powershell/

Best Regards,

Lisa Chen

September 7th, 2015 3:02am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics