0
How to add an attachment from the print option to an email
Hello,
I have created a button to send emails to my client which works well. I am now trying to export a pdf document from the print option in the top right of the database.
This is the formula I'm using but it doesn't work:
sendEmail({
from: userEmail(user()),
to: text('Invoice No'.'Freelance Payments'.'Invoice No'.Freelance.'E-mail'),
subject: "Payment Advice ",
text: "Some text",
importFile: printAndSaveRecord(this, "Payment"),
html: "<h1>Some Text</h1><i>With Markup</i>"
})
Thank you
1 reply
-
Dear KS,
importFile(this, printAndSaveRecord('Other Table', "Certificado"), "Certificado" + ".pdf");
will allow you sending more records from different tables. If you need more assistance, feel free to book a meeting https://calendly.com/maja-8/15min
Thank you
Content aside
- 4 yrs agoLast active
- 1Replies
- 841Views