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
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 Levi | IT Department
_______
dQue | Avgad Building Jabotinsky 5| Ramat Gan 54030, Israel
( +972.3.575.0676 | ( (fax) +1.972.576.6222 | ( (Mobile) +972.54.20.92502
[email protected] | www.dQue.com
--
You received this message because you are subscribed to the Google Groups
"Google Apps Domain Information and Management 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://groups.google.com/group/google-apps-mgmt-apis?hl=en.
<<image002.jpg>>
