Yes. Look at the extendedProperty in the gNamespace. With that you can add a name/value pair to an event entry.

As i just figured, this is not documented yet...

From the C# unittests:

 if (calFeed != null)
                {
                    EventEntry entry = ObjectModelHelper.CreateEventEntry(1);
                    entry.Title.Text = guid;

                    prop = new ExtendedProperty();
                    prop.Name = "http://frank.schemas/2005#prop";
                    prop.Value = "Mantek";

                    entry.ExtensionElements.Add(prop);

                    calFeed.Insert(entry);
                }

If you are not using C#, you need to add an entry looking like this:

<g:extendedProperty name="what you desire, but unique in the entry" value="whatever else you like">

i am not sure about the name restriction, but i would guess that makes common sense.


Frank Mantek

Frank Mantek

On 9/29/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

Is there a way to add custom data ie; a primary key to a foreign
database that can then be used for synch purposes?

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://groups.google.com/group/google-calendar-help-dataapi
-~----------~----~----~----~------~----~------~--~---

Reply via email to