I am using # as programming language for interacting with Google Contacts 
API. I am storing some numeric value in "ExtendedProperty" named 
"externalid". Can any one please help me with some code snippet to search 
contact based on Extended Property named "externalid" ?
 
For example, i created a contact with "Extended Property" named 
"externalid" with value "123456". I tried to search contact using below 
code snippet, but it didn't return me any result.
ContactsQuery query  =  new ContactsQuery (ContactQuery.CreateContactsUrl(
[email protected]));
query.Query = "123456";
Feed<Contact> feed = cr.Get<Contact>(query);
 
In case we use code snippet below it works. Here "Tarun" is the name of my 
contact with "externalid" having value "12345".
 ContactsQuery query  =  new ContactsQuery (ContactQuery.CreateContactsUrl(
[email protected]));
query.Query = "Tarun";
Feed<Contact> feed = cr.Get<Contact>(query);
 
Can any one please help me in this?
 
 

-- 
You received this message because you are subscribed to the Google
Groups "Google Contacts, Shared Contacts and User Profiles APIs" 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/contacts/community/forum.html

Reply via email to