Hello Diogo, I guess you are using the User Profiles API<http://code.google.com/apis/apps/profiles/developers_guide_protocol.html>to update your domain users contact information. As you can read in the documentation, this API is only accessible by domain admins; thus, a user won't be able to edit a domain user contact information, either through the API or through the web UI. When editing a domain user contact information on the web UI, it will create a copy of this contact in the logged-in user's contacts list. Unfortunately, the user's contact and the domain profile are not in sync and updating one won't update the other.
Bottom-line: this is the expected behavior. If you want to sync the domain profiles information with your users' contacts list, you can use 2-legged OAuth and the Contacts API to update your user's contacts list. Best, Alain On Wed, Jul 6, 2011 at 2:24 PM, Diogo Salazar <[email protected]> wrote: > Hi, > > I'm developing a solution using Java and the Google APIs for Contacts > and Domain Profiles. > > The situation is the following: We have our domain users, each of them > with an email account. We have devised a solution to get additional > information such as postal address and organizational info from our > company's user database, and sort of upload that into the Google > domain. > > So far we have been able to read all profile information from the > domain, and write information back into the domain. This way, all of > our Google domain users have their profiles information matching the > information from the in-company database. > > We have noticed that when we edit the profile (Google side) > information, any existing contact entry in an user Gmail contact list > will not get overridden. > (ie: Gmail user "John" has "Anna" as a contact in his contact list, > her contact information is minimal because he hasn't added any other > information than those already provided by Google when he added her as > a contact. After running our tool, "Anna"s profile at the Google > domain got updated with additional information. In "John"s contact > list, "Anna" still appears with that old minimal information. He would > have to delete her as a contact and re-add her in order to get her new > full profile information) > > Sometimes - after we ran the tool - when we add a new contact that > we've searched in the domain, if that searched contact is added, his > entry in the user contact list will be blank! Only showing the > checkbox at the left side of the row. > > Also, when adding a contact to the Gmail Chat box, the added contact > will not display it's full name in the list. > (ie: "John" is now searching for "Kathy" on the chat search box. He > types her name and invites her to chat. She is added to "John"s chat > list, but instead of showing "Kathy" it shows as "kty" which is the > first part of her email address "[email protected]". In "John"s contact > list, "Kathy"s name is showing as it should, as the information in the > domain profile. "John" is only able to get "Kathy"s name to show > correctly in the chat list after he goes into his contact list and > edits her name to something different from what is, then the change > will get displayed in the chat list) > > Has somebody been in this situation before? Does anyone know how to > fix it? > > -- > 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 -- 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
