phw198 / OutlookGoogleCalendarSync

Sync your Outlook and Google calendars
https://www.outlookgooglecalendarsync.com/
Mozilla Public License 2.0
1.76k stars 214 forks source link

Sync multiple Google calendars #1873

Open dbasam opened 1 month ago

dbasam commented 1 month ago

Are you already using OGCS? 2.10.0.0

Describe the question you have I have multiple Google calendars that I want to sync to Outlook. All Google calendars are either native to my account or have been shared with me by other users. Looking for best practice recommendations.

phw198 commented 1 month ago

If all the calendars are accessible through the same Google account, then you've already found the solution - configure a Profile for each calendar, define how you want them to sync, set a schedule and you're good to go!

dbasam commented 1 month ago

I made the mistake of trying to 2-way sync more than one Google calendar with the same Outlook calendar, which ended up copying entries from one Google calendar to the other. I can see this getting out of hand if more than 3 calendars were involved in that kind of chain. Maybe a user might want to do that, but an "Are you sure?" warning message might be appropriate if you detect more than one 2-way sync with the same calendar and maybe put some kind of idiot limit on that kind of chaining.

phw198 commented 1 month ago

Ah yes, syncing with merge enabled and G1<->O<->G2 will put all of G1 into G2 and vice-versa.

It would be really tricky to detect and provide a meaningful alert - it would have to scan the entire calendar to see if any items originated from a calendar other than the one syncing now. Sounds simple enough, but the logic would be pretty horrible and I feel it would be prone to false/confusing alerts depending on how OGCS has been used before etc.

Hope you've got a config going that works for you now?

dbasam commented 1 month ago

I was just suggesting that you check the configs, not the prior entries, and then let people know about the potential for a problem. If coding a solution isn't feasible, then maybe consider adding the scenario to an FAQ or make a best practice recommendation (to not do this) in the documentation.