I'm creating a new calendar, and then populating it with my own
events.
When I call
calendar_service.InsertCalendar(new_calendar=myCal)
I get a proper object back of type gdata.calendar.CalendarListEntry,
and I can verify on the website that the calendar was created.

I then try to Add events to the calendar using the following code:

gcalEvent = gdata.calendar.CalendarEventEntry()
gcalEvent.title = atom.Title(text=event.description)
gcalEvent.when.append(gdata.calendar.When(start_time=event.start,
end_time=event.end))
newEvent = self.calendar_service.InsertEvent(gcalEvent,
self.calendar.GetPostLink().href)

The problem is that GetPostLink() returns None.  Does anyone know why
this would be?  Am I getting a read-only CalendarListEntry or
something that prevents me from getting a Post Link?  Do I need to do
something specific to make my calendar postable?

Thanks in advance!

--~--~---------~--~----~------------~-------~--~----~
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