Hi, It should be possible to create the Organization only with a Job Title, it is important to include the Relation. You should use NULL or omit the attribute, using an empty string causes the problem you are having like Jesse pointed out.
For example: Organization org = new Organization(); org.Rel = ContactsRelationships.IsWork; org.Title = "WebMaster Extraordinaire"; org.Primary = true; //only one primary is allowed. entry.Organizations.Add(org); // Or SET to replace an existing one. Cheers, Julian On Jan 10, 9:52 pm, "Jesse Mandel" <[email protected]> wrote: > According to the > spec<http://code.google.com/apis/gdata/elements.html#gdOrganization>the > orgName is optional. If I setup a contact like this in Gmail (Title > but > no Company) and select it with the API (I'm using the .NET client), the > orgName is NULL. > > Maybe sending null for the orgName? > > ______________________www.jessemandel.com > > On Fri, Jan 9, 2009 at 12:13 PM, SteveC <[email protected]> wrote: > > > Folks; > > > I am having issues with the following: > > > I have contacts who have a JobTitle but do NOT have an Organization > > Name > > Jimmy Jones > > WebMaster Extraordinaire > > > I am forced to enter a string (I use a 'space') in order to get the > > transaction through. > > When I pull the record for update, the update will fail for missing a > > text context in the GDataOrganization. > > > Are there known issues with this? Are there known workarounds? > > > Steve --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
