11-25-2011 08:40 AM
In my continued endeavors to build a plugin, I am trying to find a list of field aliases. So far:
Can anyone point me in the direction of where to find the aliases? The context of the code is below:
Act.Framework.Contacts.ContactFieldDescriptor ocEmailZ = ActApplication.ActFramework.Contacts.GetContactFie
ldDescriptor("E-MAIL", Act.Framework.MutableEntities.FieldNameType.Alias) ;
11-28-2011 01:09 AM
Thanks for that - a useful guide. I was still having difficulties trying to get the following fields:
In the field list, those are the correct aliases, and ADDRESS_1, CITY, STATE and ZIP_CODE all work fine. The 3 fields above however, return an error message of (example): "Error retrieving the ADDRESS_2 address (Object reference not set to an instance of an object.)"
I later discovered that if the field value is empty (e.g. there is no value in ADDRESS_2), then the object reference error will appear. So, if you get the exact message above (albeit with the relevant field name), then first check if the field has any value in it.