Create from Script
Include the code below in any area where server-side scripting is allowed in order to generate & attach a PDF file.
pdfTemplate: GlideRecord of the HTML to PDF Merge Template to use
fileName: File name of the resulting attachment
sourceRecord: Source GlideRecord from which to derive any dynamic data in the PDF
attachRecord: Target GlideRecord where the PDF file should be attached
Last updated