10-05-2012 07:41 AM
I would like to get the Company field for a contact via .NET. Is this a ContactField vs. the actual company object? I am interested in the field value.
10-05-2012 08:11 AM
Yes, there is a company field on the contact table, in fact the Company is a public property for the Contact, however to get the value you'll need to retrieve the FieldDescriptor. The psuedo code would look something like:
ContactFieldDescriptor compField = ActApp.ActFramework.Contacts.GetContactFieldDescriptor("TBL_CONTACT.COMPANY");
string theValue = compField.GetValue(myContact);