Hi!

I'm trying to quick add event with this javascript code:

var calendarService = new google.gdata.calendar.CalendarService
('GoogleInc-jsguide-1.0');
var feedUri = 'http://www.google.com/calendar/feeds/default/private/
full';
var entry = new google.gdata.calendar.CalendarEventEntry();

entry.setContent(google.gdata.Text.create('JS-EVENT on 18th of
November at 10:00'));
entry.setQuickAdd(true);

var callback = function(result) {
  PRINT('event created!');
}

var handleError = function(error) {
  PRINT(error);
}

calendarService.insertEntry(feedUri, entry, callback,
    handleError, google.gdata.calendar.CalendarEventEntry);

As the result I get an event at the time of execution with the text
intended to be parsed with the QuickAdd as a description. Can you
please advice me where I went wrong?

Thanks!

--

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.


Reply via email to