Hello,
Have you tried using this line instead:
contact.setContent(new PlainTextConstruct("NEW NOTES"));
Also, this is how you should
update<http://code.google.com/apis/contacts/docs/3.0/developers_guide.html#Updating>a
contact:
ContactEntry updatedContactEntry = myService.update(editUrl, entryToUpdate
);
Best,
Alain
On Fri, Dec 2, 2011 at 5:08 PM, Rhett <[email protected]> wrote:
> I had some existing code in place to update the notes section of contact
> entries. I don't know how long it's been, but that code is no longer
> working. No exceptions are thrown, the notes field just isn't updated.
> Here's the pseudo code I am using;
>
> ContactEntry contactEntry = <retrieve existing contact entry from domain>
> contactEntry.setContent(TextConstruct.create(ITextConstruct.Type.TEXT,
> note, null));
> contactEntry.update();
>
> I have also tried the same approach with a ProfileEntry object.
>
> --
> 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