locked
Initial Exchange Web Services sync start on given time RRS feed

  • Question

  • We are doing Exchange web server synchronization with our application. To identify EWS changes we use; service.SyncFolderItems() method, like explain on MSDN. But, while doing initial sync it takes all the events in calendar, very older ones too. To avoid getting older events we need to use time period or Sync Start From time while requesting changes from SyncFolderItems() method.

    1) Can SyncFolderItems() method accept user given time period when getting events from EWS ? & How ?
    2) If not, Any workaround ?

    Wednesday, April 30, 2014 9:43 AM

All replies

  • SyncFolderItems is designed to syncronize the entire contents of a folder so it doesn't support using a Restriction, also it doesn't support calendaring logic so it won't expand recurring appoitments etc.. I would have a read of the desgin patterns for Syncronizaiton in http://msdn.microsoft.com/en-us/library/office/dn440952(v=exchg.150).aspx#bk_syncpatterns . The section "When synchronizing calendar data, proceed as follows:" outlines the best design pattern to follow which involves using Notifications and FindAppointments.

    Cheers
    Glen

    Thursday, May 1, 2014 5:52 AM