Quantcast
Channel: Exchange Server Development forum
Viewing all articles
Browse latest Browse all 7132

EWS Managed API SyncFolderItems How to Update and Delete/Keeping track of items.

$
0
0

Hi, 

I am building an app that is required to live in a trusted domain, monitor a collection of mailbox-calendars on an exchange server in that domain, and sync appointments to different mailboxes on one or many other servers.  The mailbox it is synced with is defined in an internal mapping table (sqlce) that is maintained by the user of this application.

The problem I have is I can not work out a way to keep track of the remote appointment so that I can update or delete it if necessary.  After I create the appointments on the remote server they have a new itemid which does not correspond to the one returned by the sync folder items call on the local exchange server.  I can't find the item by start time/subject as these may have been changed or deleted.

My sync method is below - am I going about this entirely the wrong way or is there a better way to user the SyncFolderItems method?

The best approach I have come up with so far to get around my problem is to save ItemID of the remote appointment into a property of the local appointment but even this I am not sure will work because I don't know what properties are maintained after a delete? Please Help!!!!



Cheers

Lucas



Viewing all articles
Browse latest Browse all 7132

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>