I am working on SharePoint 2010 and need to compare two sites. The comparison has to include the lists within those sites. I need to know if there is anything that I should compare apart from the content of the lists?
Also, what would be the best way to compare two lists?
I am working on SharePoint 2010 and need to compare two sites. The comparison
Share
This is a basic example, you’ll probably do something a little more complex, especially if you’re wanting to use a custom CamlQuery to filter the items, or check the settings of the list.
Make sure you reference
Microsoft.SharePoint.Client.dllandMicrosoft.SharePoint.Client.Runtime.dll. These can be found inC:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\ISAPIon one of the SharePoint servers in the farm. Copy them to your project and reference them.For more information on the client object model, I recommend checking out this article: http://msdn.microsoft.com/en-us/library/ee857094.aspx