Hello,

We're creating an application that is connected to Google Calendar but
it will also work offline. I have  problem with ID generation. As I
understand it there is no way to decide the ID of created events from
our side. This is a problem for us since when working offline and when
the user creates an event we must create an interim ID. This event can
then be sent around among our internal servers. When the event later
gets persisted to Google it will get another Google generated ID. We
must then change the ID on our internal so that synchronization
wouldn't be a problem.

An alternative would of course be that we had two IDs. One internal and
one Google ID. This is not very clean though and it also is a problem
since our internal ID must be stored in an ExtendedProperty which isn't
searchable. This means that we would have to get the whole calendar if
we just wanted to look up an event using our internal ID.

I see no good way to solve this problem. I feel that the Google
Calendar API was created only for online operation and a few important
use-cases has been left hanging for on/offline usage.

I would like to propose that the setID() actually worked and we could
set the ID. I wouldn't mind if there were strict rules how this ID
should be created. You could also have a static createID() method that
returned a valid ID (without contacting the server of course). If the
ID is already in the database the create process should return an
error.

Please consider this request.

Cheers,
Mikael Grev
MiG InfoCom AB
www.migcalendar.com


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