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
prakash_sfdcprakash_sfdc 

Updating LetterHead of an email template

Hi,

 

I am unable to update the LetterHead of an email template. Don't have time to recreate all of them again.. any quick solution via Schema or Eclipse IDE ?

sfdcfoxsfdcfox
Just do the following:

1) Install Ant.
2) Install Metadata Toolkit.
3) Create package.xml to retrieve all email templates.
4) Run retrieve to download all templates.
5) Create destructiveChanges.xml to delete all templates (required to change letterhead or other properties).
6) Modify email templates offline using batch update program (e.g. Programmer's Notepad, grep, etc).
7) Run deploy with destructiveChanges.xml to force deletion.
8) Run deploy with new email templates.

This is a fairly trivial task for a seasoned user of the Metadata Toolkit, but a lack of familiarity with the tool will definitely hamper progress. Then again, learning the tool might save you time in the future, so you might consider it an investment.