2

How can I copy a list (including fields, views or Schema) from one SharePoint web site and create an equivalent list instance on another SharePoint web site (which can be in a different site collection) using OOB MOSS web services.

1

You could use the "Save List as Template" functionality available in the List Settings.

2
  • My requirement is to create an .net application which can accomplish this task.
    – Vivek
    Sep 20 '10 at 7:10
  • This answers the question, the way it is currently phrased. +1
    – SPDoctor
    Jul 27 '11 at 9:01
0

Check out my SPServices jQuery library for help on this. http://spservices.codeplex.com

It'll be a combination of GetList and AddList.

2
  • Can I use this library in a Windows Application?
    – Vivek
    Sep 16 '10 at 12:03
  • I can't see why not, but it all depends on what you are doing. Sep 19 '10 at 2:41
0

You can do this using any interface that supports SOAP calls. I use MSXML2.XMLHTTP regularly. You will need to use GetList to retrieve information about the source list, and AddList to create the destination list. Similarly, you can GetView and AddView to copy the views.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.