Oy, just realized you said PHP and this is C# ... talk about confusion... :/
On Mar 7, 10:00 pm, Andre Roy <[email protected]> wrote: > Brian wrote: > > Thanks SO MUCH for your help on this, everyone - I've been having so > > much trouble figuring out how to do this without any Zend Contacts > > API, I can't tell you. I'm using the code that Kris provided above > > but can't seem to get any further at all, meaning - I can't get > > anything other than the one email extension to save. However I try, I > > can't replicate this procedure for phoneNumber, postalAddress, a > > second email address, phone numbers or anything .. someone PLEASE show > > me the key to figuring this out. Different refs, uris, array types? > > Grr .. > > Yeah, it's pretty confusing, that's for sure. Especially when > transferring from one system that returns contacts as one big long easy > to parse string and going to this objectmodel. Constantly shifting gears ... > > Here's what I have, sort of a paraphrase of what I have actually ...... > > In essences, the actual update is the same as just a plain contact, you > just have to add the phone numbers and such to the entry. Here's what > I've been using. For about three days of testing now :) > > A function here called AdBkEntryValue() parses a value out of the return > set (called <entry>) from my source system, just know that it returns a > string (possibly with newlines in it) of something reasonable here or an > empty string if there's no value in the source. > > // Create the contact entry that we will populate > ContactEntry newContact = new ContactEntry(); > etc etc etc --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Contacts API" 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-contacts-api?hl=en -~----------~----~----~----~------~----~------~--~---
