AnsweredAssumed Answered

Get Field name by its Display label

Question asked by Asaf Army on Jun 20, 2018
Latest reply on Jun 24, 2018 by Asaf Army



i want to get a field name by its display label.

also to know if it exist or not in the bean (for example, Lead bean)


i already know how to check if field exists by its name:

$FieldDefArray = $lead->getFieldDefinition($name);


but how can i get its name by its display label?