I have a relatively simple javascript system for posting hundreds of
events onto our sailing club calendar. Each event has two 'guests'
representing the individuals responsible for racing on that day. I
can get most of the information into events on the calendar OK but not
the reminders to send emails at 1 and 7 days.
Has anyone any experience of doing this successfully?
Patrick
Here's my test function..
function CreateOod() {
// var rem1 = new google.gdata.Reminder({days: '1'});
// var rem7 = new google.gdata.Reminder({method:
google.gdata.Reminder.METHOD_ALL});
var newEntry = new google.gdata.calendar.CalendarEventEntry();
newEntry.setTitle(google.gdata.Text.create('OOD duty john doe, fred
blogs'));
newEntry.addAuthor({email: "[EMAIL PROTECTED]", name:
"patrick"});
newEntry.setTimes([{startTime:
google.gdata.DateTime.fromIso8601("2008-02-17T12:00:00.000Z"),
endTime:
google.gdata.DateTime.fromIso8601("2008-02-17T17:00:00.000Z")}]);
newEntry.addParticipant({email: "[EMAIL PROTECTED]",
valueString: "john doe"});
newEntry.addParticipant({email: "[EMAIL PROTECTED]",
valueString: "fred blogs"});
// Add reminders
newEntry.addReminder({days: '1', method:
google.gdata.Reminder.METHOD_EMAIL});
newEntry.addReminder({days: '7', method:
google.gdata.Reminder.METHOD_EMAIL});
myService.insertEntry(EVENT_FEED_URL, newEntry, entryCreated,
handleError);
};
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Calendar Data API" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---