Hi Austin

That worked. Thank you

KC

On Oct 18, 1:41 pm, "Austin (Google)" <[EMAIL PROTECTED]> wrote:
> Hi KC,
>
> To insert an event into a secondary calendar, you code it the same way
> as you would for primary calendar
>
> http://code.google.com/apis/calendar/developers_guide_php.html#Creati...
>
> but with the addition of a second parameter to insertEvent() method.
> When the second parameter is not supplied it is by default assumed to
> be inserting to primary calendar.  Therefore you would add a second
> paramater to specify your secondary url, ie
>
> $calUri = 'http://www.google.com/calendar/feeds/
> [EMAIL PROTECTED]/private/full';
> $createdEvent = $gdataCal->insertEvent($newEvent, $calUri);
>
> Hope it helps,
> Austin
>
> On Oct 17, 8:22 pm, K Cal <[EMAIL PROTECTED]> wrote:
>
> > Hello
>
> > I am trying to create an event in the non-default calendar.  I am
> > trying to follow the procedure 
> > inhttp://groups.google.com/group/google-calendar-help-dataapi/browse_th...
>
> > and
>
> >http://groups.google.com/group/google-calendar-help-dataapi/browse_th...
>
> > but to no avail. I tried both
>
> > $newEvent->setId($id);
> > $gdataCal->setId($id);
>
> > but both of them throw errors. I would really appreciate if someone
> > posts an example code or pseudo code with the methods/member variables
> > that need to be set.
>
> > Thank You
>
> > KC


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