0

LAYOUT & IMAGE

Hello, 

I have an image than contains a pdf. I created a button to print the layout with one element : the image. The goal is to import it. Here is my script : 

let myPdf := printAndSaveRecord(this, "PRO_GAR");
let myName := "TEST";
importFile(this, myPdf, myName)

The file is well imported but the result is just a long list of scripts which means I scrulled it up... Any idea ? 

2 replies

null
    • Choices_Software_Dean
    • 3 yrs ago
    • Reported - view

    Have you tried changing "TEST" to "TEST.pdf"? Then clicking the button will add as an attachment, that you can see by clicking the attachment icon. Then you can click on the attachment to open it.

    • Raphael_Vieira_de_Matos
    • 3 yrs ago
    • Reported - view

    OK, thanks a lot.

Content aside

  • 3 yrs agoLast active
  • 2Replies
  • 701Views