none
FullEnumerationSimpleSyncProvider - FIlter based on Sync Direction RRS feed

  • Question

  • Most of the items need to sync under an UploadAndDownload direction, but I have a few items that should only be downloaded.  Is there a way to specify a filter base on sync direction in the FullEnumerationSimpleSyncProvider, or do I need to just do two separate syncs?

    Thanks!
    • Edited by dosborn Friday, March 12, 2010 7:48 PM typo
    Friday, March 12, 2010 7:47 PM

Answers

All replies

  • i think creating two syncs will be much cleaner.

    or you may look at overriding EnumerateItems

    Monday, March 15, 2010 1:58 PM
    Moderator
  • When you say you have items that should only be downloaded - are those items going to be read-only on the destination and never updated? If so, even if you Upload, nothing is going to flow back to the server.

    Or are those items going to be updated/deleted on the destination, but you don't want to upload those changes back to the original source?
    Monday, March 15, 2010 5:38 PM
    Moderator
  • These items will never be updated on the server and hence updates for these items will never need to go back to the server.  Updates for these items may come down from the server.
    Monday, March 15, 2010 10:13 PM
  • If they are never updated on the server, how will udpates come down from the server? Do you update will be made on some other client and will flow through the server? But if you are saying updates for these items will never need to go back to the server from the client, that will never happen too. I am a little confused - can you explain your scenario a little more? I am trying to figure out the most optimum strategy.

    thanks
    Tuesday, March 16, 2010 1:26 AM
    Moderator
  • A different application may update these records.
    Tuesday, March 16, 2010 12:00 PM