Check if a meeting stored in exchange

Add-in Express™ Support Service
That's what is more important than anything else

Check if a meeting stored in exchange
Check if a meeting stored in exchange 
Rina Andria




Posts: 9
Joined: 2016-07-05
Hi, I would like to know if there is a way to check a meeting is really stored in Exchange (can be queried with EWS with it's latest status):
I create/update the meeting in OL, then send it. Is there any flag or an event triggered after it's synchronized with Exchange ?

Thanks,
Posted 19 Jul, 2016 10:27:14 Top
Andrei Smolin


Add-in Express team


Posts: 18825
Joined: 2006-05-11
Hello Rina,

It is possible to find out if any given item is stored in an Exchange store; the item's Parent property returns a MAPIFolder object - you need to check MAPIFolder.Store.

There's no way to find if the item's properties are in sync with the store. I believe synchronization occurs when you (or Outlook) start the Send/Receive process. If so, you can find when the synchronization starts/finishes by intercepting the SyncStart, SyncStop, SyncProgress and SyncError events. In Add-in Express, you find these events in the ADXOutlookAppEvents component. Note however that for these events to work, you need to adjust the ADXOutlookAppEvents.HandleEvents property: select the ADXOutlookAppEvents component at design time and look into the Properties window. By default, these events are disconnected due to the issue we described in https://social.msdn.microsoft.com/Forums/office/en-US/7a20664c-7650-4d61-9d5f-13f1d929a8cd/outlook-2013-automatic-sendreceive-doesnt-work-with-the-sample-addin-below?forum=outlookdev.


Andrei Smolin
Add-in Express Team Leader
Posted 20 Jul, 2016 02:12:09 Top
Rina Andria




Posts: 9
Joined: 2016-07-05
Hi Andrei,
Thanks for the quick reply, I will check those suggestions and I will let you know the result.
Posted 20 Jul, 2016 02:24:51 Top
Andrei Smolin


Add-in Express team


Posts: 18825
Joined: 2006-05-11
You are welcome!


Andrei Smolin
Add-in Express Team Leader
Posted 20 Jul, 2016 02:32:16 Top
Rina Andria




Posts: 9
Joined: 2016-07-05
Hi Andrei,
Looks like those events SyncStart, SyncProgress, SyncEnd,... are only triggered when the a user click on "Send/Receive All Folders".
I want to know when exactly a meeting is in exchange after a creation/update so i can request it through EWS with its latest metadata?

The first option MAPIFolder.Store works only for creation but not for update (the meeting is already in Exchange)

Thanks,
Posted 20 Jul, 2016 07:43:24 Top
Andrei Smolin


Add-in Express team


Posts: 18825
Joined: 2006-05-11
I don't think this is possible to do. I suggest that you ask this question on the Outlook for Developers forum at https://social.msdn.microsoft.com/Forums/en-US/home?forum=outlookdev.


Andrei Smolin
Add-in Express Team Leader
Posted 20 Jul, 2016 07:56:46 Top
Rina Andria




Posts: 9
Joined: 2016-07-05
Thanks Andrei!
Posted 21 Jul, 2016 06:42:37 Top
Andrei Smolin


Add-in Express team


Posts: 18825
Joined: 2006-05-11
You are welcome!


Andrei Smolin
Add-in Express Team Leader
Posted 21 Jul, 2016 07:51:32 Top