0

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

null
    • Customer Service Ninox
    • Maria_pasini
    • 2 yrs ago
    • Reported - view

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

    Image:=null;
    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

  • 2 yrs agoLast active
  • 1Replies
  • 486Views