11-18-2010 01:45 PM
Hello blicci,
Are you looking for the sample code in the SDK download? Are you looking for a code sample not included in the SDK?
How can I help you?
11-18-2010 02:16 PM
11-19-2010 07:42 AM
I have a sample of setting field values for contacts, but not companies, this shouldn't be an issue though.
Contact c = _ActApp.ApplicationState.CurrentContact;
ContactFieldDescriptor userField3 = _ActApp.ActFramework.Contacts.GetContactFieldDescriptor("TBL_CONTACT.USER3");
c.Fields["TBL_CONTACT.USER3", Act.Framework.MutableEntities.FieldNameType.Real] = "TEST";
c.Update();
or
Contact c = _ActApp.ApplicationState.CurrentContact;
ContactFieldDescriptor userField3 = _ActApp.ActFramework.Contacts.GetContactFieldDescriptor("TBL_CONTACT.USER3");
userField3.SetValue(c, "Value");
c.Update();
Hopefully that will get you going in the right direction.
11-19-2010 08:35 AM