Has anyone working with SDF and the cli figured ou...
# sdf
s
Has anyone working with SDF and the cli figured out a way to deploy email templates and their related html files? Is there a way to do this? I tried just including the XML file and also with the html file in the objects section of the deploy.xml file, but have had no luck.
n
I just tried this few days ago. It was throwing error no matter how I included the files. At the end, I finally deploy everything under the Object folder and it worked perfectly.
d
Yes, I do this. The email template XML object goes in the '/Objects' folder. Then I put the html template in '/ FileCabinet / SuiteScripts / Templates / E-mail Templates'
Example XML object
<emailtemplate scriptid="custemailtmpl_summary">
   
<name>Summary</name>
   
<description></description>
   
<mediaitem>[/Templates/E-mail Templates/custemailtmpl_summary.template.html]</mediaitem>
   
<usesmedia>T</usesmedia>
</emailtemplate>