Hi,
I am trying to retrieve google contacts(should include all contact
addresses from contact lists, MyContacts, Other Contacts etc) from
google gadget.
Here is my code snippet:
for(var i = 0; i < list.length; i++) {
entry = list[i];
var divElement = document.createElement('div');
divElement.setAttribute('class', 'name');
var valueNode = document.createTextNode(entry.gd
$postalAddress[0].$t);
divElement.appendChild(nameNode);
divElement.appendChild(valueNode);
document.getElementById("main").appendChild(divElement);
}
The above code snippet only returns address from Contact List but not
for MyContacts or Other Contacts. I Please suggest me how to retrieve
these information.
Also, I am not able to retrieve the city, state, postal code from the
postalAddress object. I have gone through several documentation even
using 3.0 Contacts API and failed in getting formatted/parsed data.
Please advice.
Thanks in advance!!!!
--
You received this message because you are subscribed to the Google Groups
"iGoogle Developer Forum" 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-Gadgets-API?hl=en.