I have a Classic Email Template of Visualforce type. I'm trying to put some dynamics value on the subject attribute base on picklist values, however I'm getting the API Name rather than the label value of the record.
<messaging:emailTemplate
replyTo="[email protected]"
subject="{!RelatedTo.PickMe__c}" -> this returns the API name , I want the label
recipientType="User" relatedToType="Case">
So far , I hoped I could solve it with a CASE function on every API Name, however I have hit the formula length (39xx chars).
Is there some kind of getLabel() function I can apply ? I didn't find one though..
Any idea on how can I solve it ?