GAS-ICS-Sync icon indicating copy to clipboard operation
GAS-ICS-Sync copied to clipboard

Exclude Private Appointments

Open ryancasler opened this issue 4 years ago • 1 comments
trafficstars

Private Appointments only show up with the title of "Private Appointment". It would be really useful to be able to use this to exclude event from synchronization with Google Calendar. It seems like this would be really easy to setup when pulling events from O365 but I can't seem to figure out how to add it. If not implemented completely, a little assistance on where I would need to add it would be great too. Thanks so much for this. It is SOOO much better than the native Google Calendar sync.

ryancasler avatar Jun 12 '21 21:06 ryancasler

@ryancasler Can you share a vevent example? Is this specific to Outlook?

derekantrican avatar Jun 14 '21 16:06 derekantrican

Here is what I did to exclude my appointments marked as Private on Outlook.

I took this Pull request: https://github.com/derekantrican/GAS-ICS-Sync/pull/279/files

and on the var filters = [];, add "Private Appointment" string.

So, everytime you mark an appointment in Outlook as Private (close the lock), this event will be ignored and therefore not synchronized with Google Calendar.

thiagotra avatar Aug 25 '22 19:08 thiagotra

Thanks so much @thiagotra! That's just what I was looking for! Tried it and it works like a charm.

ryancasler avatar Sep 09 '22 22:09 ryancasler