SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Could you please help me out on how to sync several SharePoint lists in different environments?


I have several SharePoint lists in environment (A) and each list of them contains items. Also, I have exactly the same SharePoint lists in environment (B) and each list of them contains the same items as environment (A). Therefore, environment (A) and environment (B) are identical.

My question is: How to make sure that if items of environment (A) have changed, then, the changes will be reflected on environment (B) ?

Of course, I have heard of Microsoft Sync Framework for SharePoint and I saw: ( But I didn't find any code sample for that at all.

I would greatly appreciate your inputs !

share|improve this question

In general synchronizations like this is not a good idea? There's a whole lot of things that must be considered - not just the data in the lists. What about permissions and possibly custom code? What if the environments differ in auth schemas etc.

First of all do you need a synchronization between these lists and why? What's the purpose?

Secondly, I don't think the Sync framework (as you linked to) is the way to go here. It's mainly done for synchronizing with external client apps such as SharePoint Workspace (methinks that the only reason that these API's are documented is to satisfy EU rules :-).

I would suggest that you first of all make sure that you really need synchronization and not just master-copy relationship. Then I would take one of two approaches.

  1. Use an event reciever on the lists that does the copying between the lists
  2. Create a timer job or external client app that takes advantage of the Change Log.
share|improve this answer
Dear Wictor,Thank you so much for your valuable input. I liked the second approach but could you please provide me any code sample about how to use the Change Log. – Alex Sep 7 '11 at 19:26

I havent worked with the SharePoint implementation of Sync, but I found some samples that might be useful for you.

Check them out here:

share|improve this answer
Thanks Anders, I actually have read this article before but it wasn't that useful for me. I mean I couldn't learn from it how to impelement and also the author talked about only one method and not the another. – Alex Sep 5 '11 at 21:26
ill ping the author and see if he can elaborate here – Anders Rask Sep 6 '11 at 11:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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