Adding Custom destructive
ANT is unable to change the type on an EmailTemplate from HTML to CUSTOM. To solve that we need to add the EmailTemplate first to the destructive package to have it removed and then add it again with the package.xml
Since this file is not deleted but just changed. It doesn't show up in the deleted items tab.
We should add an option to the "Selected Items"/"Changed Items" list to opt-in for adding that to the destructive.
12
votes
William
shared this idea
-
Josh Long commented
Had a similar issue just yesterday with changing from Custom to HTML.