What way should I print and save using a different file name from code.

To avoid using attachments as it appears these can not be deleted automatically. Tony Ryder 

1 reply

    • Customer Service Ninox
    • Maria_pasini
    • 3 yrs ago
    • Reported - view

    You could create an Image field and a button with the code:

    Image:=importFile(this, printAndSaveRecord(this, "My Print Layout"), "mypdf.pdf")

    With this function you can export one of your print layouts as PDF and save it as an attachment of the data record

Content aside

  • 3 yrs agoLast active
  • 1Replies
  • 487Views