You should be able to update the value of an extended property.
The ExtendedProperty objects are stored in a list inside the
CalendarEventEntry object. Calling addExtendedProperty just adds the
object to the list:
----
public void addExtendedProperty(ExtendedProperty prop) {
getExtendedProperty().add(prop);
}
----
You may wish to try modifying the existing element in the List rather
than adding an additional object of the same name to the list. There
is a public method in CalendarEventEntry called getExtendedProperty()
which returns the java.util.List of ExtendedProperty elements.
Also, Jake: I would suggest using Entry.update() as an easier method.
Please let me know if you've had problems performing the update in
that fashion.
Cheers,
-Ryan
On Jan 28, 12:55 am, "Jake" <[EMAIL PROTECTED]> wrote:
> My understanding was that when you add a field of the same name (as in
> your code) the old field is overwritten. I trust you are actually
> updating your entry through a CalendarService? Other than that my code
> is identical to yours and it works perfectly.
>
> myEntry = myService.update(new URL(myEntry.getEditLink().getHref()),
> myEntry);
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---