yangchongze00 / google-gdata

Automatically exported from code.google.com/p/google-gdata
0 stars 0 forks source link

Problems With Contact Titles #425

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Dim rs As New RequestSettings("DOMAIN.com", NAME, PASSWORD)
rs.AutoPaging = True
Dim cr As New ContactsRequest(rs)
Dim newContact As New Contact()
newContact.Title = "ABC"
Dim feedUri As New Uri(ContactsQuery.CreateContactsUri("default"))
Dim createdContact As Contact = cr.Insert(feedUri, newContact)
MsgBox("TITLE: " & createdContact.Title)

I can successfully Create and then Display the 'Primary Email' and 'Content' 
fields, but the Title field is never being inserted into the record it seems.
You can see in 1.png that it is being held ready to write to the record, but it 
doesn't make it.
2.png shows the 3 fields I am writing then displaying

I am using v1.6.0.0 of the .NET Library, downloaded on 6/29/10

Original issue reported on code.google.com by alex.dav...@sourceot.com on 1 Sep 2010 at 10:10

Attachments:

GoogleCodeExporter commented 8 years ago
Sorry, I forgot to hide personal details from 2.png
Try this instead

Original comment by alex.dav...@sourceot.com on 1 Sep 2010 at 10:16

Attachments:

GoogleCodeExporter commented 8 years ago
Hey Alex,
Is title an editable field? I just assumed that Google made it for us based on 
content in other fields.  Have you been able to change the title in other 
entries.. like document entries?

Original comment by edwin.la...@gmail.com on 2 Sep 2010 at 8:38

GoogleCodeExporter commented 8 years ago
It was with v1.2.2.0 of the API

If I output that field from existing Contract entries it displays the entries' 
Display Names.

Original comment by alex.dav...@sourceot.com on 3 Sep 2010 at 12:24

GoogleCodeExporter commented 8 years ago
I'm having the same problem and got the same results as alex when testing.

Original comment by jake.ked...@gmail.com on 17 Sep 2010 at 4:06

GoogleCodeExporter commented 8 years ago

Original comment by ccherub...@google.com on 18 Mar 2011 at 1:45

GoogleCodeExporter commented 8 years ago
Still not fixed with v1.7.0.1 - I am still relying on v1.2.2.0

Original comment by alex.dav...@sourceot.com on 18 Mar 2011 at 3:09

GoogleCodeExporter commented 8 years ago
Hello Alex,

Unfortunately, you will not be able to modify the Title or the Name of a User 
Profile. The Title is generated by the API using the User Profile Name that you 
can edit using the Provisioning API:
  http://code.google.com/googleapps/domain/gdata_provisioning_api_v2.0_reference_dotnet.html

However, your application shouldn't use the Title field of the entry but 
instead use the Name.FullName (or Name.GivenName and Name.FamilyName) instead.

Best,
Alain

Original comment by ala...@google.com on 29 Jul 2011 at 10:08

GoogleCodeExporter commented 8 years ago

Original comment by ccherub...@google.com on 29 Jul 2011 at 10:09