6 Replies Latest reply on Feb 9, 2011 9:44 AM by Sorbsbuster

    PDF Export with file name according to serial number

    PatrickHolzer

      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!