Hello,

You should use the contact's edit link to retrieve contact information
instead of the Contact ID which is an Atom URI.

Best,
Alain

On Mon, Mar 5, 2012 at 10:10 PM, מיכל לוי <[email protected]> wrote:

> Hi ,****
>
> **1.       **I add new extended properties to new contact entry set
> contact service. Insert and the returned contact entry contains those
> values but at update case when I tried to retrieve this contact entry I
> can't see the extended property again do you know why ?****
>
> //create the properties****
>
>   obj_ExtendedProperty.Name = "Department";****
>
>                 obj_ExtendedProperty.Value = "Sales";****
>
>                 newContactEntry.**ExtendedProperties.Add(obj_**
> ExtendedProperty); ****
>
> ** **
>
>                 Uri feedUri = new Uri(ContactsQuery.**CreateContactsUri(
> "default"));** ****
>
>                 //The example assumes the ContactRequest object (cr) is
> already set up.****
>
>                 ContactEntry createdContact = cr.Insert(feedUri,
> newContactEntry);****
>
> //If I check the created contact here I can see the extended properties***
> *
>
>                 return createdContact;****
>
> //but after that not****
>
> ** **
>
>   ContactsQuery contactQuery = new ContactsQuery(contactID); //contactID =
> createdContact.Uri.ID <http://createdcontact.uri.id/>****
>
>             ContactsFeed feed = cr.Query(contactQuery);****
>
>             ContactEntry contact = ((ContactEntry)feed.Entries[0]**);****
>
> //The contact dose not contain the extended property  ****
>
> ** **
>
> **2.       **Why I can't update/insert new extended properties to exist
> contact (if I tried I got " Extended properties not supported." Error )?**
> **
>
> ** **
>
> ** **
>
> TIA,
>
> *Michal*
>
> **
>
>  --
> 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
>



-- 
Alain Vongsouvanh | Developer Programs Engineer

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