Brett Zufelt

Quotes Email PDF not working with custom template

Discussion created by Brett Zufelt on Jan 31, 2018
Latest reply on Jun 27, 2018 by Brett Zufelt

I have followed the Creating Custom PDF Templates instructions in the Sugar 7.11 Developer guide to create a custom TCPDF template but can not get the Email PDF option to work with my custom template. I am using a stock version of 7.11. I followed the example from the guide exactly as documented. The template does show up in both the Download PDF and Email PDF options but when I click on Email PDF it just navigates to a new screen where the main pane is empty and it downloads the pdf to the computer. It does not redirect me to the Emails module like it does if you use the option with a template created with PDF Manager.


Download PDF works correctly, Email PDF does not.


Anyone have any suggestions on how to fix the example so it works correctly?