getContactEmail
String getContactEmail(String contactIds)
for ContactsCustomField
and
String getContactEmail(String contactIds, final String customFieldId)
for
ContactSelectCF
if (customField.getCustomFieldType().getClass().getName().contains("ContactCustomField"))
{ Method getOrgMethod = customField.getCustomFieldType().getClass() .getMethod("getContact", Object.class); String orgNameVal = (String) getOrgMethod.invoke(customField.getCustomFieldType(), val); return orgNameVal; }