Hi Anjali -
A contact can have more than one extended property. There is a limit,
> I guess extended property allows a single name value pair.
I'm not sure what it is - '10' is a number I recall reading somewhere.
You can extended property name/value like this to do the job:
name=mycompany
value=<myxml><dob>blah</dob><anniversary>blah</anniversary></myxml>
Extended properties don't appear in the Gmail UI.
> One issue unrelated to this thread, i tried to add some
> extended properties to a contact with java client library
> (with projection full) but when I opened the contact in Gmail
> screen, I did not see those extended properties
> coming up on UI. Is this a bug or I am missing something?
Then what is the purpose of extended properties if they are not viewable? You mean I can't see extended properties in the UI??
This is the hard part. You would have to write some javascript code
> The combo has three entries Home, Work and
> Other. Now if I want to add say DOB, Anniv Date, etc in the combo
> list then how can i do that?
which would run at the same time as the user interacts with Gmail. Your
code would on the one hand use the Contacts API to read your additional
fields and on the other modify the Gmail UI to provide a way for the use
to set/get those fields. So you would need to learn about how to
develop mozilla addons. I don't suggest this would be easy but I think
it'd be a feasable thing to do. This is the wrong mailing list for
talking about developing firefox addons.
Thanks !
extended properties allow non-google client software to associate data
with a contact. Indeed many/most clients might not want that data to be
visible in the Gmail UI.
>> You mean I can't see extended properties in the UI??
Not as far as I understand it.
Leni.