Aravind Elumalai
Aravind Elumalai

Reputation: 17

EWS Filter out the US holiday and birthday events in Outlook calendar

I'm working on calendar sync for two accounts. But when I do this, US Holiday and Birthday Events are duplicating. How to restrict this duplication using the EWS filter?

Upvotes: 0

Views: 133

Answers (1)

Glen Scales
Glen Scales

Reputation: 22032

You can filter out Birthday calendars by excluding any calendars with a FolderClass of "IPF.Appointment.Birthday". With Holiday calendars the PidTagExtendedFolderFlags property is used to mark the Folder a ReadOnly see Able to write events to read-only calendar via API so you should be able to use that to exclude any of those calendars.

Upvotes: 2

Related Questions