Any updates ?

I am using .NET library and want to add reminders to a recurring appointment.

Thanks
Kulvinder Singh


----- Original Message ----
From: Austin (Google) <[EMAIL PROTECTED]>
To: Google Calendar Data API <[email protected]>
Sent: Wednesday, November 7, 2007 11:31:25 PM
Subject: Re: Adding a Reminder to a recurring event


Hi Denis,

Sorry I wasn't aware that you were the C# client lib I thought you
were trying to create that with raw XML.  You are exactly right that
in recurrence creation, the client library most likely is expecting a
<gd:when> to insert a <gd:reminder>.  To get around this limitation
of the client lib is to send raw XML directly.  I recently answered a
similar post regarding the same issue with the PHP client lib -

http://groups.google.com/group/google-calendar-help-dataapi/browse_thread/thread/1126589d8b9e5324

I will investigate further into this and post an update on this
matter.

Austin

On Nov 7, 9:53 am, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Hi Austin,
>
> Yes I know what the xml is supposed to look like but my problem is
> that I'm trying to add the reminder using the C# API.
> For a non-recurring appointment I can just add the Reminder value to
> the Times attribute of the appointment, i.e...
>
> <code>
> foreach (When times in newAppt.Times)
> {
>    Reminder rem = new Reminder();
>    rem.Minutes = alarm;
>    rem.Method = Reminder.ReminderMethod.alert;
>    times.Reminders.Add(rem);}
>
> </code>
>
> However, as recurring appointments do not have any Times values or
> <gd:when> tag, I am not sure how to add the reminder value.
> Hope that clarifies my problem a bit more.
>
> Cheers,
> Denis
>
> On Nov 7, 5:41 pm, "Austin (Google)" <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi Denis,
>
> > The XML for a recurring event with reminder look something like the
> > following:
>
> > <entry xmlns="http://www.w3.org/2005/Atom"; xmlns:gd='http://
> > schemas.google.com/g/2005'>
> >  <title type="text">[TITLE]</title>
> >  <content type="text">[CONTENT]</content>
> >  <gd:reminder method="all"/>
> >  <gd:where xmlns:gd="http://schemas.google.com/g/2005";
> > valueString="[WHERE]"/>
> >  <gd:recurrence xmlns:gd="http://schemas.google.com/g/
> > 2005">[RECURRENCE]</gd:recurrence>
> > </entry>
>
> > Hope that helps,
> > Austin
>
> > On Nov 7, 6:01 am, "[EMAIL PROTECTED]"
>
> > <[EMAIL PROTECTED]> wrote:
> > > Hi All,
>
> > > I am trying to create a recurring appointment with a reminder but I
> > > cannot get the reminder value set.  I can do this for a non-recurring
> > > appointment as these have a <gd: where> attribute which the reminder
> > > can be associated with.
> > > However, as recurring appointments do not have this attribute I am
> > > unsure of how to add a reminder to the recurring appointment.
> > > Can anyone point me in the right direction of how to set the reminder
> > > on a recurring item?
>
> > > Thanks in advance,
> > > Denis- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -




      
____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
--~--~---------~--~----~------------~-------~--~----~
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