Hello Dimitrios, Do you send an "UPDATE" request to the API after clearing the locations? If you do, please save the result of the update request and check if the location is still set.
Best, Alain On Wed, Jun 29, 2011 at 9:50 AM, Dimitrios Zlitidis <[email protected]>wrote: > Hi Alain, > > thanks for your immediate answer! I'm just using entry.Locations.Clear(); > and I can see in my locals that the event's location is cleared. But when I > retrieve it back I get back my previous value... > > Thanks again, > Dimitris > > > 2011/6/29 Alain Vongsouvanh <[email protected]> > >> Hello Dimitrios, >> >> Unfortunately, it is not possible to set an empty title to an event >> through the API. It is however possible to create an event with an empty >> title... >> >> For the event's location, do you get a specific error or value returned by >> the API? Have you tried just clearing the event's locations without adding >> an empty one? >> >> Best, >> Alain >> >> On Tue, Jun 28, 2011 at 7:48 PM, Dimitrios Zlitidis >> <[email protected]>wrote: >> >>> Hi all! >>> >>> I am using .NET and I'm trying to update the title and location of an >>> event with an empty string. I'm doing something like: >>> >>> Where eventLocation = new Where(); >>> entry.Locations.Clear(); >>> eventLocation.ValueString = ""; >>> entry.Locations.Add(eventLocation); >>> >>> entry.Title.Text = ""; >>> >>> Unfortunately, these are not updated. I've read that thiw was a problem >>> in the past and the solution was to put a '.' instead of an empty string, as >>> mentioned here:http://code.google.com/p/gdata-issues/issues/detail?id=125 >>> >>> Any solution would be very helpful, thanks! >>> >>> -- >>> 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://code.google.com/apis/calendar/community/forum.html >>> >> >> >> >> -- >> Alain Vongsouvanh >> >> >> >> -- >> 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://code.google.com/apis/calendar/community/forum.html >> > > -- > 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://code.google.com/apis/calendar/community/forum.html > -- Alain Vongsouvanh -- 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://code.google.com/apis/calendar/community/forum.html
