Take the 2-minute tour ×
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

we use a lot of email templates for notifying different teams in our org, which creates a lot of overhead in updating the email templates when ever a new field is added. Is there an app out there, or something, that you can use to create the templates for you?

I am looking at the html of the page layout and copying and pasting it that way, but the limitation on that is you get the field values, not their API name.

share|improve this question
add comment

1 Answer

I can see two possible options you might want to consider for approaching this problem, both involve utilising the Visualforce form of Email Templates. Once you select this type of email template, you can utilise the apex:detail tag to render as per the Page Layout or utilise Field Sets to add new fields or columns to existing templates by simply editing a designated Field Set on the related objects.

share|improve this answer
    
Hey Andy! Thanks for the tip. My initial thought is I want to stay away from a VF solution, since my BA wouldn't be able to update them. It turns into a scalability issue at that point in my head. Or does this approach bypass that? –  nivyaj Feb 11 at 14:29
    
Yes it does to some degree, since your BA can access the Field Sets from the Custom Object definition under the Setup menu, no need to go into the Visualforce markup once the VF page has been taught to respond to them. –  Andrew Fawcett Feb 11 at 16:51
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.