AnsweredAssumed Answered

PDF Export with file name according to serial number

Question asked by PatrickHolzer on Feb 8, 2011
Latest reply on Feb 9, 2011 by Sorbsbuster

Title

PDF Export with file name according to serial number

Post

Hi,

I have orders in my database that are continously and automatically numbered for unique identification (this field is called order ID).

I'd like to be able to create a script that allows me to:

  • go to a specific export layout so that the PDF looks accordingly
  • export the layout as PDF file
  • save the exported PDF where its file name is the order ID, for example: "12500.pdf" where 12500 would be the order ID
  • return to the layout where I initiated the script (called "Browse Orders")

I haven't figured out how to get the saving of the file done according to its order ID.

Thank you!

Outcomes