{"id":421,"date":"2013-04-20T20:55:08","date_gmt":"2013-04-20T19:55:08","guid":{"rendered":"http:\/\/bergatrollet.se\/blog\/?p=421"},"modified":"2013-04-20T20:57:24","modified_gmt":"2013-04-20T19:57:24","slug":"managing-the-google-calendar","status":"publish","type":"post","link":"http:\/\/bergatrollet.se\/blog\/2013\/04\/managing-the-google-calendar\/","title":{"rendered":"Managing the google calendar &#8230;"},"content":{"rendered":"<p>I use a tool called Google Calendar Toolkit (&#8220;GCT&#8221;) (<a title=\"Google Calendar Toolkit\" href=\"http:\/\/www.gcaltoolkit.com\/\" target=\"_blank\">here<\/a>). It&#8217;s a great tool and Neil is a most charming and service minded person.<\/p>\n<p>I had an issue there I had data visible in online calendar but where GTC didn&#8217;t read but a subset &#8211; most irritating. The problem was actually mot really found but some learning from working with Google Calendars.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/bergatrollet.se\/blog\/wp-content\/uploads\/2013\/04\/where.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"422\" data-permalink=\"http:\/\/bergatrollet.se\/blog\/2013\/04\/managing-the-google-calendar\/where\/\" data-orig-file=\"https:\/\/i0.wp.com\/bergatrollet.se\/blog\/wp-content\/uploads\/2013\/04\/where.png?fit=432%2C406\" data-orig-size=\"432,406\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"Settings\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/bergatrollet.se\/blog\/wp-content\/uploads\/2013\/04\/where.png?fit=432%2C406\" class=\"alignright  wp-image-422\" style=\"border: 5px solid black;\" alt=\"Settings\" src=\"https:\/\/i0.wp.com\/bergatrollet.se\/blog\/wp-content\/uploads\/2013\/04\/where.png?resize=302%2C284\" width=\"302\" height=\"284\" srcset=\"https:\/\/i0.wp.com\/bergatrollet.se\/blog\/wp-content\/uploads\/2013\/04\/where.png?w=432 432w, https:\/\/i0.wp.com\/bergatrollet.se\/blog\/wp-content\/uploads\/2013\/04\/where.png?resize=300%2C281 300w\" sizes=\"auto, (max-width: 302px) 100vw, 302px\" \/><\/a><\/p>\n<p>The idea for mitigating the error was to export the data of my calendar, delete it, and then recreate it from the exported data.<\/p>\n<p>1) Export the calendar to an iCal file. On the picture you can see the option to select .<\/p>\n<p>* From here you can select to export all the calendars (export &#8211; give you all of them in a ZIP file) or you can select a specific calendar (just click on one) and selecting the calendar address, and download it from there as iCal. The result should be the same<\/p>\n<p>My issue was that I wanted to delete all content of my main calendar, and there was a presumed error that would be rectified if I exported and re-imported the data.<\/p>\n<p>2) Delete the main calendar.<\/p>\n<p>This cannot be done for the main calendar. If you select delete in the calendar menu, there is a trashcan option but using it deletes all entries in the calendar but doesn&#8217;t delete the calendar itself. It was basically what I wanted so it was OK but far from obvious<\/p>\n<p>3) Import the data from the file.<\/p>\n<p>Now this is where it got tricky. I did upload the data to the calendar (selecting import from the same location you enter when doing as the picture shows) but the requester gave me the very non-obvious reply that I didn&#8217;t have sufficient access rights to do the upload. On my calendar. Huh???<\/p>\n<p>The reason this happens is that there is an UID collision of the data in the file and the data in the calendar (still there. only not visible as it&#8217;s deleted and hence hidden). So what you need to do is to remove the UID from the events, and upload the file in this form.<\/p>\n<p>The hint was found <a href=\"http:\/\/productforums.google.com\/forum\/#!msg\/calendar\/5vLrmBPXyxc\/Sd76gunaaaEJ\" target=\"_blank\">here <\/a>(thanks to Neil for the pointer of course).<\/p>\n<p style=\"padding-left: 30px;\">1) I installed notepad++ (<a href=\"http:\/\/notepad-plus-plus.org\/\" target=\"_blank\">http:\/\/notepad-plus-plus.org\/<\/a><wbr \/>).<br \/>\n2) I opened the backed up .ics file (old calendar)<br \/>\n3) I did the following:<br \/>\n&#8212;&#8211; menu &#8211; &#8220;Search&#8221;<br \/>\n&#8212;&#8212;&#8212;- choose &#8220;Find&#8221;<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212; click &#8220;Mark&#8221; tab<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; search for UID<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; tick &#8220;Bookmark line&#8221;<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; press &#8220;Mark All&#8221; &#8211;&gt; all rows you want to delete received a bookmark<br \/>\n&#8212;&#8211; menu &#8211; &#8220;Search&#8221;<br \/>\n&#8212;&#8212;&#8212;- choose &#8220;Bookmark&#8221;<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212; click &#8220;Remove Bookmarked lines&#8221; &#8211;&gt; all lines containing &#8220;UID&#8221; are removed<br \/>\n4) Save new ics file<br \/>\n5) Import new ics file<\/p>\n<p style=\"padding-left: 30px;\">\n","protected":false},"excerpt":{"rendered":"<p>I use a tool called Google Calendar Toolkit (&#8220;GCT&#8221;) (here). It&#8217;s a great tool and Neil is a most charming and service minded person. I had an issue there I had data visible in online calendar but where GTC didn&#8217;t &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"http:\/\/bergatrollet.se\/blog\/2013\/04\/managing-the-google-calendar\/\"> <span class=\"screen-reader-text\">Managing the google calendar &#8230;<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-421","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pkM6p-6N","jetpack_likes_enabled":true,"_links":{"self":[{"href":"http:\/\/bergatrollet.se\/blog\/wp-json\/wp\/v2\/posts\/421","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bergatrollet.se\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bergatrollet.se\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bergatrollet.se\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/bergatrollet.se\/blog\/wp-json\/wp\/v2\/comments?post=421"}],"version-history":[{"count":3,"href":"http:\/\/bergatrollet.se\/blog\/wp-json\/wp\/v2\/posts\/421\/revisions"}],"predecessor-version":[{"id":425,"href":"http:\/\/bergatrollet.se\/blog\/wp-json\/wp\/v2\/posts\/421\/revisions\/425"}],"wp:attachment":[{"href":"http:\/\/bergatrollet.se\/blog\/wp-json\/wp\/v2\/media?parent=421"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bergatrollet.se\/blog\/wp-json\/wp\/v2\/categories?post=421"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bergatrollet.se\/blog\/wp-json\/wp\/v2\/tags?post=421"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}