EWS on push streaming subscription (My Calendar sand Other Calendars)

Hi,

I am developing at app that is able to listen to updates in calendar schedules. Right now an admin account is created (say meetingroomadmin@company.com). Inside this account, there are 2 calendars ie "My Calendar" and "Other Calendars". The "Other Calendars" contain the calendar schedules for the rooms (each represented by its own email address).

Using push streaming subscription, it is able to listen to events from "My Calendar" but does not work on "Other Calendars". Is there any way which I can listen to rooms schedule under "Other Calendars"?

Please let me know if additional info needed.

https://social.msdn.microsoft.com/Forums/getfile/642933 for details.

Appreciate if some snippets can be provided for better clarity.

Thanks and regards,

MelvinLKL


  • Edited by MelvinLKL 23 hours 13 minutes ago
April 8th, 2015 4:09am

You need subscribe to every folder you want events from, it sounds like you are just subscribing at the moment to the Primary Calendar folder. So you what you will need to do is first write some code to get the FolderId of the secondary calendar using FindFolder and then subscribe to that folderId as well eg in the https://msdn.microsoft.com/en-us/library/microsoft.exchange.webservices.data.streamingsubscription%28v=exchg.80%29.aspx class you can pass in an array of FolderId's

Cheers
Glen

Free Windows Admin Tool Kit Click here and download it now
April 9th, 2015 12:13am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics