New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Outlook categories - include or exclude from sync #313
Comments
Until we have a more sophisticated filtering option implemented you can manually add filters in Helpers.gs L184
|
thank you @jonas0b1011001 ...this is excellent. I'm not against doing things manually, but I'm a little confused as to execution. I would have to add this string for every category that I'd like to exclude? That's okay, I just need to know the process. Thank you. |
If you need to exclude multiple categories: or to only sync specific caategories: |
@jonas0b1011001 thank you for that clarification. |
Ok, I gave it a try, tells me syntax error. So I clearly misunderstand something. Here's my line 184-190:
Thank you for your help so far. |
Should be
|
Ok, so I copied and pasted exactly this code to line 184 in helper.gs, and yet the excluded categories still sync. Thoughts? |
Download your *.ics, open it in a texteditor and check if outlook is actually using the categories parameter, might be some nonstandard outlook parameter. If so, change the getFirstPropertyValue('categories') accordingly. |
Thanks for that tip. I don't see "Categories" anywhere, nevermind a parameter that shows any of the colors (I just searched the text). Is there a way for me to make Outlook generate that in the ICS file? Or is there another solution? |
I don't know much about outlook, maybe @derekantrican has an idea. |
Hi, I'm trying to follow along too. My work calendar is too detailed to share with my family, I want to just share the Personal and Info Share categories. I've saved my Outlook ics and verify it is using categories, for example one of my events with this line: I tried both ways, listing the include filters with the return ( line or the exclude filters with the return !( line but still all of my calendar is showing up. There is a block of code for cancelled events from L176-183 already with a result = result.filter(function(event){ I tried just adding my block below at L184, or do I need to edit the cancelled events result.filter?
|
Ah! Actually when I saved my ics from Outlook desktop the categories show. But the office365 web link for the ics that I am using in this script does not have categories, even though I have selected to share full details! Hmmm... |
Is there a way to include or exclude certain categories from an Outlook calendar from syncing?
The text was updated successfully, but these errors were encountered: