|
Efficiently Deleteng All Events in a Calendar: msg#00260org.google.api.calendar
I have a Calendar of typically 80 - 100 events (i.e. a dozen or so conferences, with agenda items within each conference). I need to periodically add new events, update existing events and delete passed events. Logically the easiest approach is simply to delete all the old content of the Calendar, and add all the events again, in their updated state. However I find that if I delete events by iterating through the events collection of the Calendar, and deleting each event (with the delete() method), it is quite time consuming. Q1: Is there any way to delete all the events for a Calendar with a single procedure? Q2: Or if not, is there any way to delete a complete Calendar (including its events), then to programmatically recreate the Calendar? John Walton |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Bug: gd:when Element does not behave as it should: 00260, Frank Mantek |
|---|---|
| Next by Date: | Can't add event via ColdFusion: 00260, rcamden@xxxxxxxxx |
| Previous by Thread: | Bug: gd:when Element does not behave as it shouldi: 00260, Philipp Kewisch |
| Next by Thread: | Re: Efficiently Deleteng All Events in a Calendar: 00260, Dexterr |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |