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