function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ranendu banerjeeranendu banerjee 

HTML template in Salesforce

Hi
I need to use custom label for header and footer part, so it can be easily editable by any any non techie person. Is it possible ? if yes, please give some example.
Thank you.

Regards, 
Ranendu
Mudasir WaniMudasir Wani
Hello Ranendu,

Yes you can use the custom lable in your Html Eamil template.
Suppose your custom label name is myCustomLabelValue then your code should look like
 
​<span style='font-size:11.0pt;font-family: "Arial","sans-serif"'>{!$Label.myCustomLabelValue} </span>
Let me know if you have any issue

Don't forget to select best answer to make our efforts visible in the developer forum.
Please mark this as solution by selecting it as best answer if this solves your problem, So that if anyone has this issue this post can help
 
ranendu banerjeeranendu banerjee
Hi @mudasir, thank you for the reply. but it's not working. could you explain a bit more please ?
Mudasir WaniMudasir Wani

Hey Renendu can you paste the sample code of your email template here 

One more thing you need to check is to update the text template.
Because we have two options if HTML is not possible then a text template is sent.
Verify your changes in text template as well .

Thanks,
Mudasir